ContractDescription Members

Describes a Windows Communication Foundation (WCF) contract that specifies what an endpoint communicates to the outside world.

The ContractDescription type exposes the following members.

  NameDescription
Public method ContractDescription Overloaded. Initializes a new instance of the ContractDescription class.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member GetContract Overloaded. Returns the contract description for a specified type of contract.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetInheritedContracts Returns a collection of contract descriptions that are inherited by the current contract description.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Behaviors Gets the behaviors associated with the contract description.
Public property CallbackContractType Gets or sets the type of callback contract that the contract description specifies.
Public property ConfigurationName Gets or sets the configuration name for the contract description.
Public property ContractType Gets or sets the contract type that the contract description specifies.
Public property HasProtectionLevel Gets a value that indicates whether the contract has had a protection level set.
Public property Name Gets or sets the name of the contract.
Public property Namespace Gets or sets the namespace for the contract.
Public property Operations Gets the collection of operation descriptions associated with the contract.
Public property ProtectionLevel Gets or sets the level of security protection associated with the contract.
Public property SessionMode Gets or sets a value that indicates whether a session is required by the contract.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft