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
- TraceSwitch.cs
- ArrayTypeMismatchException.cs
- RecordConverter.cs
- EasingFunctionBase.cs
- AsymmetricAlgorithm.cs
- RequestCache.cs
- errorpatternmatcher.cs
- XamlToRtfParser.cs
- MimeMultiPart.cs
- GridViewCancelEditEventArgs.cs
- GCHandleCookieTable.cs
- ServiceMemoryGates.cs
- SimpleBitVector32.cs
- BeginGetFileNameFromUserRequest.cs
- SendKeys.cs
- ComboBox.cs
- PersonalizationProviderHelper.cs
- FtpRequestCacheValidator.cs
- DefaultAuthorizationContext.cs
- AuthenticatedStream.cs
- DataControlFieldCollection.cs
- DataRelation.cs
- XmlSerializerVersionAttribute.cs
- coordinatorfactory.cs
- DataObject.cs
- UIPermission.cs
- DragDeltaEventArgs.cs
- WindowsSecurityTokenAuthenticator.cs
- autovalidator.cs
- ExceptionUtil.cs
- MethodCallTranslator.cs
- Point.cs
- SecuritySessionFilter.cs
- TransportSecurityHelpers.cs
- Camera.cs
- safemediahandle.cs
- Button.cs
- QueryContinueDragEventArgs.cs
- SelectManyQueryOperator.cs
- HelpProvider.cs
- X509DefaultServiceCertificateElement.cs
- EmptyEnumerator.cs
- RegexGroup.cs
- OpenFileDialog.cs
- MsdtcClusterUtils.cs
- AsymmetricKeyExchangeDeformatter.cs
- CodeDirectoryCompiler.cs
- ClassGenerator.cs
- AvTraceDetails.cs
- OdbcDataReader.cs
- ParameterToken.cs
- QuaternionConverter.cs
- XmlDigitalSignatureProcessor.cs
- PermissionSetTriple.cs
- TiffBitmapDecoder.cs
- BoolExpr.cs
- MachineKeySection.cs
- BooleanExpr.cs
- BitmapEffectGeneralTransform.cs
- Transactions.cs
- ToolStripDropDownButton.cs
- EventSourceCreationData.cs
- TableCellAutomationPeer.cs
- ECDiffieHellmanCng.cs
- LockCookie.cs
- TriggerCollection.cs
- XsltInput.cs
- AssemblyResolver.cs
- ShaperBuffers.cs
- ProvidePropertyAttribute.cs
- CheckBox.cs
- LineInfo.cs
- StorageScalarPropertyMapping.cs
- KnownAssembliesSet.cs
- FunctionUpdateCommand.cs
- Pair.cs
- Model3D.cs
- DataTemplate.cs
- HostedBindingBehavior.cs
- InfoCardAsymmetricCrypto.cs
- InstanceNotFoundException.cs
- DrawListViewSubItemEventArgs.cs
- FreezableDefaultValueFactory.cs
- CollectionBuilder.cs
- DefaultTraceListener.cs
- MulticastDelegate.cs
- UInt16.cs
- OleDbWrapper.cs
- AdRotatorDesigner.cs
- BitmapInitialize.cs
- StringStorage.cs
- ArrayMergeHelper.cs
- SqlFormatter.cs
- SharedPersonalizationStateInfo.cs
- CheckedPointers.cs
- ConfigXmlDocument.cs
- InternalCache.cs
- FindProgressChangedEventArgs.cs
- DataGridViewMethods.cs
- DynamicDiscoSearcher.cs