Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Messaging / System / Messaging / MessageQueuePermissionEntry.cs / 1305376 / MessageQueuePermissionEntry.cs
//---------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Messaging { using System.ComponentModel; ///[ Serializable() ] public class MessageQueuePermissionEntry { private string label; private string machineName; private string path; private string category; private MessageQueuePermissionAccess permissionAccess; /// public MessageQueuePermissionEntry(MessageQueuePermissionAccess permissionAccess, string path) { if (path == null) throw new ArgumentNullException("path"); if (path != MessageQueuePermission.Any && !MessageQueue.ValidatePath(path, false)) throw new ArgumentException(Res.GetString(Res.PathSyntax)); this.path = path; this.permissionAccess = permissionAccess; } /// public MessageQueuePermissionEntry(MessageQueuePermissionAccess permissionAccess, string machineName, string label, string category) { if (machineName == null && label == null && category == null) throw new ArgumentNullException("machineName"); if (machineName != null && !SyntaxCheck.CheckMachineName(machineName)) throw new ArgumentException(Res.GetString(Res.InvalidParameter, "MachineName", machineName)); this.permissionAccess = permissionAccess; this.machineName = machineName; this.label = label; this.category = category; } /// public string Category { get { return this.category; } } /// public string Label { get { return this.label; } } /// public string MachineName { get { return this.machineName; } } /// public string Path { get { return this.path; } } /// public MessageQueuePermissionAccess PermissionAccess { get { return this.permissionAccess; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- xsdvalidator.cs
- DataSvcMapFile.cs
- RichTextBox.cs
- ItemList.cs
- AttachedPropertyBrowsableAttribute.cs
- ObfuscationAttribute.cs
- CompiledQuery.cs
- TrackingMemoryStreamFactory.cs
- XNodeValidator.cs
- MdImport.cs
- CollectionViewSource.cs
- NewArrayExpression.cs
- ApplicationInfo.cs
- ProfileProvider.cs
- ReadOnlyDataSource.cs
- OlePropertyStructs.cs
- EventLogInternal.cs
- TimeZoneNotFoundException.cs
- MarshalByRefObject.cs
- PaintEvent.cs
- ActivityExecutionContext.cs
- WorkflowViewManager.cs
- DbParameterHelper.cs
- TemplateBindingExpressionConverter.cs
- LinkLabelLinkClickedEvent.cs
- ValidatedControlConverter.cs
- IteratorDescriptor.cs
- MultipleViewPattern.cs
- RootBrowserWindow.cs
- BaseTemplateBuildProvider.cs
- BufferBuilder.cs
- BaseHashHelper.cs
- EncoderFallback.cs
- BidOverLoads.cs
- NotificationContext.cs
- SafeArchiveContext.cs
- ErrorStyle.cs
- Random.cs
- DmlSqlGenerator.cs
- HashMembershipCondition.cs
- ListViewPagedDataSource.cs
- PropertyChangedEventArgs.cs
- XmlIncludeAttribute.cs
- HitTestDrawingContextWalker.cs
- WindowsStatusBar.cs
- TableLayout.cs
- DecoderFallback.cs
- EntityParameter.cs
- AssociationType.cs
- DataGridViewRowHeaderCell.cs
- TextServicesCompartmentEventSink.cs
- ConfigXmlWhitespace.cs
- TextRunCacheImp.cs
- CqlWriter.cs
- ObjectQueryState.cs
- DataServiceQueryProvider.cs
- TrustLevelCollection.cs
- CqlQuery.cs
- GraphicsState.cs
- ListViewInsertEventArgs.cs
- VerificationAttribute.cs
- CacheModeValueSerializer.cs
- WsdlWriter.cs
- ErrorRuntimeConfig.cs
- Calendar.cs
- ExeContext.cs
- RelationshipType.cs
- AssemblyUtil.cs
- ScriptingRoleServiceSection.cs
- StdValidatorsAndConverters.cs
- PrimitiveOperationFormatter.cs
- RelatedPropertyManager.cs
- CheckableControlBaseAdapter.cs
- BrowserTree.cs
- InputScopeManager.cs
- UrlPath.cs
- DecimalAnimationUsingKeyFrames.cs
- ObjectCloneHelper.cs
- MenuItemStyle.cs
- DataColumnPropertyDescriptor.cs
- MarkupCompilePass2.cs
- CircleHotSpot.cs
- DataGridCommandEventArgs.cs
- _WebProxyDataBuilder.cs
- RequestUriProcessor.cs
- EntitySqlQueryState.cs
- CodeDOMUtility.cs
- securestring.cs
- HideDisabledControlAdapter.cs
- FilterQuery.cs
- SqlUserDefinedAggregateAttribute.cs
- DataBoundControlHelper.cs
- PersonalizationProvider.cs
- XmlWellformedWriter.cs
- HealthMonitoringSectionHelper.cs
- SessionStateContainer.cs
- MenuItem.cs
- ApplicationManager.cs
- ClientEventManager.cs
- FillBehavior.cs