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
- WmpBitmapDecoder.cs
- FunctionCommandText.cs
- ClientSettingsSection.cs
- TextEncodedRawTextWriter.cs
- PerformanceCounter.cs
- CollectionEditor.cs
- SoapInteropTypes.cs
- CornerRadiusConverter.cs
- Nodes.cs
- ZipPackagePart.cs
- Hash.cs
- PathFigureCollection.cs
- DesignerAutoFormat.cs
- X509DefaultServiceCertificateElement.cs
- Bezier.cs
- WindowsFormsHostAutomationPeer.cs
- PlatformCulture.cs
- FragmentQueryKB.cs
- HttpRuntimeSection.cs
- EntityDataSourceView.cs
- MobileControlsSectionHelper.cs
- HwndProxyElementProvider.cs
- ElementFactory.cs
- XmlDataSource.cs
- CommonXSendMessage.cs
- BaseParaClient.cs
- XmlIncludeAttribute.cs
- EventLogSession.cs
- WebPartZoneBase.cs
- Base64WriteStateInfo.cs
- AspProxy.cs
- BinHexDecoder.cs
- DropShadowEffect.cs
- Light.cs
- AssemblyName.cs
- HtmlInputControl.cs
- TraceHandlerErrorFormatter.cs
- VideoDrawing.cs
- CommandArguments.cs
- ThreadExceptionDialog.cs
- PropertyEmitterBase.cs
- PrimitiveCodeDomSerializer.cs
- RepeatEnumerable.cs
- TemplateBamlRecordReader.cs
- FunctionImportMapping.cs
- DesignerListAdapter.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- ContainerParagraph.cs
- UrlPath.cs
- Transform3DGroup.cs
- processwaithandle.cs
- AppSecurityManager.cs
- EditorPartCollection.cs
- MailDefinition.cs
- Rijndael.cs
- DetailsViewInsertedEventArgs.cs
- AttributeQuery.cs
- PointLightBase.cs
- HttpListenerRequest.cs
- WindowManager.cs
- DataGridViewSortCompareEventArgs.cs
- FacetChecker.cs
- QilIterator.cs
- GlobalizationSection.cs
- SafeUserTokenHandle.cs
- XmlSchemaSimpleTypeList.cs
- FloaterBaseParagraph.cs
- ServerProtocol.cs
- BrushConverter.cs
- NamedPipeTransportBindingElement.cs
- CharacterString.cs
- ServiceThrottle.cs
- ModuleBuilder.cs
- ValidationHelper.cs
- DataGridDesigner.cs
- CustomLineCap.cs
- MessageSmuggler.cs
- RepeaterItemEventArgs.cs
- Transform3DCollection.cs
- ObjectComplexPropertyMapping.cs
- NameValuePair.cs
- SimpleFieldTemplateUserControl.cs
- FrugalMap.cs
- TableDetailsRow.cs
- ResourceProviderFactory.cs
- GraphicsPathIterator.cs
- relpropertyhelper.cs
- LayoutTable.cs
- CrossSiteScriptingValidation.cs
- ObjectQueryState.cs
- DiscreteKeyFrames.cs
- ManagedFilter.cs
- FormatException.cs
- QilScopedVisitor.cs
- ConnectionPoint.cs
- DeclarativeCatalogPartDesigner.cs
- StorageEntitySetMapping.cs
- ObjectNavigationPropertyMapping.cs
- PropertiesTab.cs
- LineServicesCallbacks.cs