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
- RtfToXamlLexer.cs
- SettingsPropertyCollection.cs
- NotFiniteNumberException.cs
- DesignerForm.cs
- ProfileInfo.cs
- TemplateFactory.cs
- QilParameter.cs
- CustomBindingCollectionElement.cs
- Vector3DIndependentAnimationStorage.cs
- LOSFormatter.cs
- DbConnectionStringCommon.cs
- SByteStorage.cs
- CommandCollectionEditor.cs
- TileBrush.cs
- OracleCommandSet.cs
- ActivityTypeCodeDomSerializer.cs
- ImageConverter.cs
- Message.cs
- DebugView.cs
- PropertyInformation.cs
- MembershipValidatePasswordEventArgs.cs
- SoapAttributeOverrides.cs
- ViewValidator.cs
- HttpProxyTransportBindingElement.cs
- Input.cs
- PatternMatchRules.cs
- ConfigUtil.cs
- FormatterConverter.cs
- ExpressionNode.cs
- Button.cs
- CodePageEncoding.cs
- securestring.cs
- WorkItem.cs
- WorkflowHostingResponseContext.cs
- _ScatterGatherBuffers.cs
- DescriptionAttribute.cs
- FontDialog.cs
- ContextBase.cs
- WindowsRebar.cs
- While.cs
- Tuple.cs
- IdnElement.cs
- Monitor.cs
- util.cs
- IriParsingElement.cs
- TraceSection.cs
- TextDocumentView.cs
- XmlSerializerVersionAttribute.cs
- DependencyPropertyValueSerializer.cs
- WindowsUpDown.cs
- ManipulationPivot.cs
- XmlEnumAttribute.cs
- WebControlsSection.cs
- TemplateBamlTreeBuilder.cs
- ResizingMessageFilter.cs
- GridViewUpdateEventArgs.cs
- TreeIterators.cs
- SchemaMerger.cs
- OdbcConnectionString.cs
- TransformedBitmap.cs
- StructuredType.cs
- RoutedUICommand.cs
- WebPartZoneBase.cs
- Storyboard.cs
- NotifyInputEventArgs.cs
- OdbcReferenceCollection.cs
- ProviderException.cs
- TrimSurroundingWhitespaceAttribute.cs
- CfgArc.cs
- HtmlAnchor.cs
- EventRecordWrittenEventArgs.cs
- SiteMap.cs
- FormsAuthenticationConfiguration.cs
- Currency.cs
- COAUTHIDENTITY.cs
- PagePropertiesChangingEventArgs.cs
- WebPageTraceListener.cs
- Transform.cs
- RequestCachingSection.cs
- Page.cs
- OuterGlowBitmapEffect.cs
- RepeatInfo.cs
- ProxyManager.cs
- XmlImplementation.cs
- HostProtectionPermission.cs
- FilterException.cs
- DataGridViewImageColumn.cs
- UIElement.cs
- ObservableCollectionDefaultValueFactory.cs
- DefaultExpressionVisitor.cs
- Object.cs
- OracleLob.cs
- FormViewActionList.cs
- AssociationEndMember.cs
- SessionStateModule.cs
- ItemList.cs
- DataIdProcessor.cs
- DataPager.cs
- NavigateEvent.cs
- SByteStorage.cs