Redigera

Dela via


MetadataReference Constructors

Definition

Initializes a new instance of the MetadataReference class.

Overloads

MetadataReference()

Initializes a new instance of the MetadataReference class.

MetadataReference(EndpointAddress, AddressingVersion)

Initializes a new instance of the MetadataReference class and specifies the network address and address version of the endpoint.

MetadataReference()

Initializes a new instance of the MetadataReference class.

public:
 MetadataReference();
public MetadataReference ();
Public Sub New ()

Applies to

MetadataReference(EndpointAddress, AddressingVersion)

Initializes a new instance of the MetadataReference class and specifies the network address and address version of the endpoint.

public:
 MetadataReference(System::ServiceModel::EndpointAddress ^ address, System::ServiceModel::Channels::AddressingVersion ^ addressVersion);
public MetadataReference (System.ServiceModel.EndpointAddress address, System.ServiceModel.Channels.AddressingVersion addressVersion);
new System.ServiceModel.Description.MetadataReference : System.ServiceModel.EndpointAddress * System.ServiceModel.Channels.AddressingVersion -> System.ServiceModel.Description.MetadataReference
Public Sub New (address As EndpointAddress, addressVersion As AddressingVersion)

Parameters

address
EndpointAddress

An EndpointAddress that contains the URI of the endpoint.

addressVersion
AddressingVersion

An AddressingVersion that contains the WS-Addressing version implemented by the endpoint.

Applies to