Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ContractDescription Methods

The ContractDescription type exposes the following members.

  Name Description
Public method Supported by Portable Class Library Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Supported by Portable Class Library 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(Type) Returns the contract description for a specified type of contract.
Public method Static member GetContract(Type, Object) Returns the contract description for a specified type of contract and service implementation.
Public method Static member GetContract(Type, Type) Returns the contract description for a specified type of contract and a specified type of service.
Public method Supported by Portable Class Library GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetInheritedContracts Returns a collection of contract descriptions that are inherited by the current contract description.
Public method Supported by Portable Class Library GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by Portable Class Library MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ShouldSerializeProtectionLevel Returns a value that indicates whether the ProtectionLevel property has changed from its default value and should be serialized.
Public method Supported by Portable Class Library ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2015 Microsoft