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
- PropertyChangingEventArgs.cs
- ExtensionWindow.cs
- PackagingUtilities.cs
- WSSecurityPolicy12.cs
- RemoteWebConfigurationHostStream.cs
- BmpBitmapDecoder.cs
- OpenTypeLayout.cs
- Literal.cs
- WithStatement.cs
- LayoutTableCell.cs
- HttpHandlerActionCollection.cs
- Style.cs
- GridViewSelectEventArgs.cs
- Collection.cs
- NotSupportedException.cs
- AutoSizeToolBoxItem.cs
- GZipStream.cs
- GridPattern.cs
- Matrix3D.cs
- Contracts.cs
- NavigationFailedEventArgs.cs
- ListBoxItemWrapperAutomationPeer.cs
- ArrayTypeMismatchException.cs
- DocumentViewerHelper.cs
- AgileSafeNativeMemoryHandle.cs
- PrinterResolution.cs
- DesignerDataView.cs
- CompoundFileStorageReference.cs
- WindowHideOrCloseTracker.cs
- XmlWriter.cs
- BitmapPalette.cs
- SetIndexBinder.cs
- WebPageTraceListener.cs
- XmlDocumentFragment.cs
- JsonEnumDataContract.cs
- CorrelationValidator.cs
- HttpPostServerProtocol.cs
- CompensatableSequenceActivity.cs
- DynamicPropertyHolder.cs
- SqlStream.cs
- WindowsRichEditRange.cs
- TabControlAutomationPeer.cs
- Unit.cs
- XmlHierarchyData.cs
- ParameterReplacerVisitor.cs
- TextBreakpoint.cs
- RootProfilePropertySettingsCollection.cs
- TypeSystem.cs
- LightweightCodeGenerator.cs
- COM2ComponentEditor.cs
- XappLauncher.cs
- FixedNode.cs
- DesignerCatalogPartChrome.cs
- EdgeModeValidation.cs
- HandledEventArgs.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- XslAstAnalyzer.cs
- NamedPipeChannelFactory.cs
- PropertyKey.cs
- FindCriteria11.cs
- DisplayInformation.cs
- CodeGeneratorOptions.cs
- IPAddress.cs
- TypeElement.cs
- OracleMonthSpan.cs
- MatrixTransform3D.cs
- TableItemStyle.cs
- WorkflowServiceAttributes.cs
- Operators.cs
- SqlCharStream.cs
- SoapHeaders.cs
- InitializationEventAttribute.cs
- XmlStringTable.cs
- SymbolDocumentInfo.cs
- GridView.cs
- NodeLabelEditEvent.cs
- TextEndOfSegment.cs
- CodeDomSerializerBase.cs
- NamedPermissionSet.cs
- EtwTrackingParticipant.cs
- Typeface.cs
- ImageIndexConverter.cs
- TextPointer.cs
- VisualStateChangedEventArgs.cs
- ToolStripRendererSwitcher.cs
- SystemIPInterfaceStatistics.cs
- CapacityStreamGeometryContext.cs
- ListManagerBindingsCollection.cs
- WebBrowserSiteBase.cs
- InputLangChangeEvent.cs
- EvidenceBase.cs
- Error.cs
- SwitchElementsCollection.cs
- TextCompositionManager.cs
- StreamWithDictionary.cs
- Form.cs
- designeractionlistschangedeventargs.cs
- TimeSpanMinutesConverter.cs
- SafeNativeMethods.cs
- DataControlImageButton.cs