This documentation is archived and is not being maintained.

ContractReference Members

ContractReference overview

Public Constructors

public constructorContractReference Constructor Overloaded. Initializes a new instance of the ContractReference class.

Public Fields

public fieldstatic (Shared in Visual Basic)Namespace XML namespace for service description references in discovery documents.

Public Properties

public propertyClientProtocol (inherited from DiscoveryReference) Gets or sets the instance of DiscoveryClientProtocol used in a discovery process.
public propertyContract Gets a System.Web.Services.Description.ServiceDescription object representing the service description.
public propertyDefaultFilename Overridden. Gets the name of the file to use by default when saving the referenced service description.
public propertyDocRef Gets and sets the URL for a XML Web service implementing the service description referenced in the Ref property.
public propertyRef Gets or sets the URL to the referenced service description.
public propertyUrl Overridden. Gets or sets the URL for the referenced Service Description.

Public Methods

public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodReadDocument Overridden. Reads the service description from the passed Stream and returns the service description.
public methodResolve (inherited from DiscoveryReference) Overloaded. Resolves whether the referenced document is valid.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodWriteDocument Overridden. Writes the passed-in service description into the passed-in Stream.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodResolve Overloaded.

See Also

ContractReference Class | System.Web.Services.Discovery Namespace

Show: