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
- SchemaNamespaceManager.cs
- ViewStateModeByIdAttribute.cs
- _WebProxyDataBuilder.cs
- RoutedEventValueSerializer.cs
- PersonalizableAttribute.cs
- TypeForwardedToAttribute.cs
- ListView.cs
- PrintDialogException.cs
- DocumentScope.cs
- TraceSection.cs
- SchemaDeclBase.cs
- RSAProtectedConfigurationProvider.cs
- ValidationErrorCollection.cs
- HttpsTransportBindingElement.cs
- HelpProvider.cs
- SafeUserTokenHandle.cs
- ButtonChrome.cs
- UTF8Encoding.cs
- TagElement.cs
- QilTernary.cs
- DesignBinding.cs
- KeyedHashAlgorithm.cs
- SharedStream.cs
- basevalidator.cs
- SqlHelper.cs
- RoleGroupCollection.cs
- SizeLimitedCache.cs
- SpanIndex.cs
- PathFigure.cs
- MsmqIntegrationOutputChannel.cs
- OracleConnection.cs
- XhtmlBasicTextBoxAdapter.cs
- InputMethodStateChangeEventArgs.cs
- ScrollableControlDesigner.cs
- OrderedDictionary.cs
- DeferredTextReference.cs
- SortAction.cs
- RequiredFieldValidator.cs
- TypeUnloadedException.cs
- DataGrid.cs
- IpcManager.cs
- SafePEFileHandle.cs
- ContentElementAutomationPeer.cs
- MsmqBindingMonitor.cs
- ApplicationBuildProvider.cs
- XamlInt32CollectionSerializer.cs
- CheckBoxFlatAdapter.cs
- PreservationFileReader.cs
- XmlComment.cs
- ClientScriptManagerWrapper.cs
- DbConnectionInternal.cs
- TriggerAction.cs
- SolidColorBrush.cs
- HttpDictionary.cs
- QuaternionKeyFrameCollection.cs
- _Connection.cs
- SimpleType.cs
- KeysConverter.cs
- Point3DCollectionConverter.cs
- SmtpCommands.cs
- UserInitiatedNavigationPermission.cs
- StateMachine.cs
- CodeIdentifiers.cs
- RelatedView.cs
- DataSourceControl.cs
- CodeDefaultValueExpression.cs
- XmlLinkedNode.cs
- RuntimeHandles.cs
- SHA512Managed.cs
- WorkflowMarkupSerializationManager.cs
- NetworkStream.cs
- InternalsVisibleToAttribute.cs
- TraceRecords.cs
- RelationshipConstraintValidator.cs
- QilValidationVisitor.cs
- ContentIterators.cs
- CryptoProvider.cs
- RequestStatusBarUpdateEventArgs.cs
- RMEnrollmentPage2.cs
- RijndaelManagedTransform.cs
- ToolstripProfessionalRenderer.cs
- VSWCFServiceContractGenerator.cs
- EventLog.cs
- WebPartMenu.cs
- KeyInfo.cs
- GenericWebPart.cs
- UndirectedGraph.cs
- Exceptions.cs
- ApplicationServicesHostFactory.cs
- Span.cs
- NetSectionGroup.cs
- ProfileParameter.cs
- IsolationInterop.cs
- EventHandlers.cs
- Function.cs
- Window.cs
- EventMappingSettingsCollection.cs
- WebPartMenu.cs
- DefaultHttpHandler.cs
- DNS.cs