Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Messaging / System / Messaging / Trustee.cs / 1305376 / Trustee.cs
using System; using System.Collections; using System.Runtime.InteropServices; using System.ComponentModel; using System.Text; using System.Messaging.Interop; using System.Messaging; namespace System.Messaging { ////// /// public class Trustee { string name; string systemName; TrusteeType trusteeType; ///[To be supplied.] ////// /// public string Name { get { return name; } set { if (value == null) throw new ArgumentNullException("value"); name = value; } } ///[To be supplied.] ////// /// public string SystemName { get { return systemName; } set { systemName = value; } } ///[To be supplied.] ////// /// public TrusteeType TrusteeType { get { return trusteeType; } set { if (!ValidationUtility.ValidateTrusteeType(value)) throw new InvalidEnumArgumentException("value", (int)value, typeof(TrusteeType)); trusteeType = value; } } ///[To be supplied.] ////// /// public Trustee() { } ///[To be supplied.] ////// /// public Trustee(string name) : this(name, null) {} ///[To be supplied.] ////// /// public Trustee(string name, string systemName) : this(name, systemName, System.Messaging.TrusteeType.Unknown) {} ///[To be supplied.] ////// /// public Trustee(string name, string systemName, TrusteeType trusteeType) { this.Name = name; this.SystemName = systemName; this.TrusteeType = trusteeType; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections; using System.Runtime.InteropServices; using System.ComponentModel; using System.Text; using System.Messaging.Interop; using System.Messaging; namespace System.Messaging { ///[To be supplied.] ////// /// public class Trustee { string name; string systemName; TrusteeType trusteeType; ///[To be supplied.] ////// /// public string Name { get { return name; } set { if (value == null) throw new ArgumentNullException("value"); name = value; } } ///[To be supplied.] ////// /// public string SystemName { get { return systemName; } set { systemName = value; } } ///[To be supplied.] ////// /// public TrusteeType TrusteeType { get { return trusteeType; } set { if (!ValidationUtility.ValidateTrusteeType(value)) throw new InvalidEnumArgumentException("value", (int)value, typeof(TrusteeType)); trusteeType = value; } } ///[To be supplied.] ////// /// public Trustee() { } ///[To be supplied.] ////// /// public Trustee(string name) : this(name, null) {} ///[To be supplied.] ////// /// public Trustee(string name, string systemName) : this(name, systemName, System.Messaging.TrusteeType.Unknown) {} ///[To be supplied.] ////// /// public Trustee(string name, string systemName, TrusteeType trusteeType) { this.Name = name; this.SystemName = systemName; this.TrusteeType = trusteeType; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BuildResultCache.cs
- StrongNameKeyPair.cs
- SqlInternalConnectionTds.cs
- FloatMinMaxAggregationOperator.cs
- TranslateTransform.cs
- XPathArrayIterator.cs
- VBIdentifierNameEditor.cs
- TextCompositionEventArgs.cs
- ToolStripItemRenderEventArgs.cs
- WorkflowInlining.cs
- TableRowGroupCollection.cs
- ButtonStandardAdapter.cs
- CodeValidator.cs
- ToolStripScrollButton.cs
- MemberPathMap.cs
- WindowProviderWrapper.cs
- ReadOnlyMetadataCollection.cs
- X509Chain.cs
- AsyncCompletedEventArgs.cs
- EventProvider.cs
- UnmanagedHandle.cs
- HttpContextWrapper.cs
- MessageDecoder.cs
- TemplateColumn.cs
- UserPreferenceChangingEventArgs.cs
- StyleSelector.cs
- DataServiceKeyAttribute.cs
- TcpStreams.cs
- ListControlConvertEventArgs.cs
- SqlInternalConnection.cs
- DataKeyCollection.cs
- SrgsElementFactory.cs
- RequestDescription.cs
- SqlDataReader.cs
- Win32Exception.cs
- ActiveXHost.cs
- FileDialog.cs
- PtsContext.cs
- XmlBinaryReader.cs
- ServiceElement.cs
- ValidationSummary.cs
- Logging.cs
- SQLGuid.cs
- Main.cs
- WorkflowCompensationBehavior.cs
- ObjectDataProvider.cs
- SEHException.cs
- Object.cs
- DocumentAutomationPeer.cs
- StringResourceManager.cs
- diagnosticsswitches.cs
- EdmFunctions.cs
- CheckBoxRenderer.cs
- DocumentOrderComparer.cs
- StringValidator.cs
- WebHttpSecurityElement.cs
- ResizeBehavior.cs
- ZipArchive.cs
- TagPrefixCollection.cs
- StylusButton.cs
- StaticExtension.cs
- TabPageDesigner.cs
- WebConfigurationHost.cs
- XmlUtil.cs
- SiteMembershipCondition.cs
- FormViewModeEventArgs.cs
- JournalEntryStack.cs
- FormsAuthentication.cs
- WebPartEventArgs.cs
- TimeSpanValidatorAttribute.cs
- IPGlobalProperties.cs
- DictionaryContent.cs
- TimeSpanFormat.cs
- ItemList.cs
- ComEventsInfo.cs
- ErrorLog.cs
- DateRangeEvent.cs
- SafeTokenHandle.cs
- AppSettingsExpressionEditor.cs
- SecurityHeaderTokenResolver.cs
- FactoryGenerator.cs
- AuthorizationRuleCollection.cs
- ImpersonationContext.cs
- QilLoop.cs
- MatrixTransform.cs
- DynamicPropertyHolder.cs
- PartDesigner.cs
- x509utils.cs
- MemberCollection.cs
- LicenseManager.cs
- InputScope.cs
- TransformConverter.cs
- Clause.cs
- RegexStringValidator.cs
- EntityViewContainer.cs
- CommentGlyph.cs
- WeakEventManager.cs
- ProgressBarAutomationPeer.cs
- BitmapMetadataBlob.cs
- SmtpSpecifiedPickupDirectoryElement.cs