This documentation is archived and is not being maintained.
Describes a Windows Communication Foundation (WCF) contract that specifies what an endpoint communicates to the outside world.
The ContractDescription type exposes the following members.
|Equals||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetContract||Overloaded. Returns the contract description for a specified type of contract.|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetInheritedContracts||Returns a collection of contract descriptions that are inherited by the current contract description.|
|GetType||Gets the type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|Behaviors||Gets the behaviors associated with the contract description.|
|CallbackContractType||Gets or sets the type of callback contract that the contract description specifies.|
|ConfigurationName||Gets or sets the configuration name for the contract description.|
|ContractType||Gets or sets the contract type that the contract description specifies.|
|HasProtectionLevel||Gets a value that indicates whether the contract has had a protection level set.|
|Name||Gets or sets the name of the contract.|
|Namespace||Gets or sets the namespace for the contract.|
|Operations||Gets the collection of operation descriptions associated with the contract.|
|ProtectionLevel||Gets or sets the level of security protection associated with the contract.|
|SessionMode||Gets or sets a value that indicates whether a session is required by the contract.|