ContractReference Members

Represents a reference in a discovery document to a service description.

The following tables list the members exposed by the ContractReference type.

  Name Description
Public method ContractReference Overloaded. Initializes a new instance of the ContractReference class.
Top

  Name Description
Public field Static Namespace XML namespace for service description references in discovery documents.
Top

  Name Description
Public property ClientProtocol  Gets or sets the instance of DiscoveryClientProtocol used in a discovery process.(inherited from DiscoveryReference)
Public property Contract Gets a System.Web.Services.Description.ServiceDescription object representing the service description.
Public property DefaultFilename Overridden. Gets the name of the file to use by default when saving the referenced service description.
Public property DocRef Gets and sets the URL for a XML Web service implementing the service description referenced in the Ref property.
Public property Ref Gets or sets the URL to the referenced service description.
Public property Url Overridden. Gets or sets the URL for the referenced Service Description.
Top

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static FilenameFromUrl  Returns a file name based on the passed URL. (inherited from DiscoveryReference)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method ReadDocument Overridden. Reads the service description from the passed Stream and returns the service description.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Resolve Overloaded.  
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method WriteDocument Overridden. Writes the passed-in service description into the passed-in Stream.
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method Resolve Overloaded. Overridden.  
Top

Community Additions

ADD
Show: