System.Web.Services.Discovery.ContractReference Members

The members of System.Web.Services.Discovery.ContractReference are listed below.

See Also: Inherited members from System.Web.Services.Discovery.DiscoveryReference

Public Constructors

Initializes a new instance of the System.Web.Services.Discovery.ContractReference class using default values.

Initializes a new instance of the System.Web.Services.Discovery.ContractReference class using the supplied reference to a Service Description.

Initializes a new instance of the System.Web.Services.Discovery.ContractReference class using the supplied references to a service description and a XML Web service implementing the service description.

Public Fields

const
Namespacestring.

XML namespace for service description references in discovery documents.

Public Properties

[read-only]
ContractSystem.Web.Services.Description.ServiceDescription.

Gets a System.Web.Services.Description.ServiceDescription object representing the service description.

[read-only]
override
DefaultFilenamestring.

Gets the name of the file to use by default when saving the referenced service description.

DocRefstring.

Gets and sets the URL for a XML Web service implementing the service description referenced in the ContractReference.Ref property.

Refstring.

Gets or sets the URL to the referenced service description.

override
Urlstring.

Gets or sets the URL for the referenced Service Description.

Public Methods

override
ReadDocument(System.IO.Stream) : object

Reads the service description from the passed System.IO.Stream and returns the service description.

override
WriteDocument(object, System.IO.Stream)

Writes the passed-in service description into the passed-in System.IO.Stream.

Protected Methods

override
Resolve(string, System.IO.Stream)

Resolves whether the the referenced document is valid.