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 {
///
///
/// [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.
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SkinBuilder.cs
- Point4D.cs
- InputEventArgs.cs
- BlockUIContainer.cs
- sortedlist.cs
- CurrentChangingEventArgs.cs
- DataReceivedEventArgs.cs
- WebPartEditorApplyVerb.cs
- OleDbReferenceCollection.cs
- GeneratedCodeAttribute.cs
- SemanticResolver.cs
- XPathSelfQuery.cs
- AnnotationHelper.cs
- EventDescriptor.cs
- IpcClientManager.cs
- TextBoxBase.cs
- ContentPropertyAttribute.cs
- DynamicDataExtensions.cs
- NamespaceEmitter.cs
- GuidTagList.cs
- AnimationClock.cs
- EntityDataSourceState.cs
- FixedSOMPageConstructor.cs
- ZoneLinkButton.cs
- CodeGotoStatement.cs
- WizardPanel.cs
- NameValueSectionHandler.cs
- DBSqlParserTableCollection.cs
- MbpInfo.cs
- DBDataPermissionAttribute.cs
- ClientFormsIdentity.cs
- RepeatInfo.cs
- CommentEmitter.cs
- CorrelationManager.cs
- odbcmetadatacolumnnames.cs
- DataGridState.cs
- XmlDataProvider.cs
- MimeParameters.cs
- SpellCheck.cs
- DocumentSequence.cs
- TableCellCollection.cs
- DispatcherTimer.cs
- CompositeDataBoundControl.cs
- StorageRoot.cs
- FormatterServices.cs
- ExpressionLexer.cs
- ProxyHelper.cs
- StructuredTypeInfo.cs
- RemotingClientProxy.cs
- Material.cs
- MembershipUser.cs
- PrePrepareMethodAttribute.cs
- Point4DValueSerializer.cs
- RestHandlerFactory.cs
- SemaphoreFullException.cs
- WindowsRichEditRange.cs
- ChtmlCalendarAdapter.cs
- RegexBoyerMoore.cs
- IsolatedStorageSecurityState.cs
- BaseDataListPage.cs
- SystemKeyConverter.cs
- Range.cs
- FamilyMapCollection.cs
- SqlCacheDependencySection.cs
- CodeValidator.cs
- StorageEntityContainerMapping.cs
- formatter.cs
- ConfigXmlAttribute.cs
- IxmlLineInfo.cs
- ObjectViewFactory.cs
- InnerItemCollectionView.cs
- InputLanguageManager.cs
- NativeMethods.cs
- ListenerBinder.cs
- CapabilitiesPattern.cs
- HtmlToClrEventProxy.cs
- OleDbDataReader.cs
- ServiceHost.cs
- Animatable.cs
- MetabaseServerConfig.cs
- UnionCodeGroup.cs
- EventlogProvider.cs
- SourceFileInfo.cs
- WizardPanel.cs
- RbTree.cs
- FloaterBaseParagraph.cs
- DataSourceSelectArguments.cs
- Win32PrintDialog.cs
- ChildrenQuery.cs
- ControlParameter.cs
- handlecollector.cs
- BrushValueSerializer.cs
- BinaryObjectReader.cs
- DisposableCollectionWrapper.cs
- DocumentOrderQuery.cs
- SSmlParser.cs
- TextBox.cs
- FileLoadException.cs
- TextEmbeddedObject.cs
- HttpEncoder.cs