ContractReference.DocRef Property

 

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

Namespace:   System.Web.Services.Discovery
Assembly:  System.Web.Services (in System.Web.Services.dll)

member DocRef : string with get, set

Property Value

Type: System.String

The URL for a XML Web service implementing the Service Description referenced in the Ref property.

Within a discovery document, a reference to a Service Description is contained within a contractRef XML element. The contractRef XML element has two attributes described in the following table.

Attribute

Description

ref

The URL for the service description. The Ref property represents the value of the ref attribute.

docRef

The URL for a XML Web service implementing the service description specified by the ref attribute. The DocRef property represents the value of the docRef attribute.

The following code example sets the DocRef property of ContractReference.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: