Editar

Partilhar via


AnnouncementEndpoint Constructors

Definition

Creates a new instance of the AnnouncementEndpoint class.

Overloads

AnnouncementEndpoint()

Creates a new instance of the AnnouncementEndpoint class.

AnnouncementEndpoint(DiscoveryVersion)

Creates a new instance of the AnnouncementEndpoint class that supports the specified DiscoveryVersion.

AnnouncementEndpoint(Binding, EndpointAddress)

Creates a new instance of the AnnouncementEndpoint class with the specified binding and address.

AnnouncementEndpoint(DiscoveryVersion, Binding, EndpointAddress)

Creates a new instance of the AnnouncementEndpoint class that supports the specified DiscoveryVersion with the specified binding and address.

AnnouncementEndpoint()

Creates a new instance of the AnnouncementEndpoint class.

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

Applies to

AnnouncementEndpoint(DiscoveryVersion)

Creates a new instance of the AnnouncementEndpoint class that supports the specified DiscoveryVersion.

public:
 AnnouncementEndpoint(System::ServiceModel::Discovery::DiscoveryVersion ^ discoveryVersion);
public AnnouncementEndpoint (System.ServiceModel.Discovery.DiscoveryVersion discoveryVersion);
new System.ServiceModel.Discovery.AnnouncementEndpoint : System.ServiceModel.Discovery.DiscoveryVersion -> System.ServiceModel.Discovery.AnnouncementEndpoint
Public Sub New (discoveryVersion As DiscoveryVersion)

Parameters

discoveryVersion
DiscoveryVersion

The discovery version to use.

Remarks

DiscoveryEndpoint supports two discovery protocols versions: WS-Discovery April 2005 and WS-Discovery July 2008. The version supported by a specific instance is specified by this or any constructor that takes a DiscoveryVersion parameter.

Applies to

AnnouncementEndpoint(Binding, EndpointAddress)

Creates a new instance of the AnnouncementEndpoint class with the specified binding and address.

public:
 AnnouncementEndpoint(System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ address);
public AnnouncementEndpoint (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress address);
new System.ServiceModel.Discovery.AnnouncementEndpoint : System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.Discovery.AnnouncementEndpoint
Public Sub New (binding As Binding, address As EndpointAddress)

Parameters

binding
Binding

The binding.

address
EndpointAddress

The address.

Applies to

AnnouncementEndpoint(DiscoveryVersion, Binding, EndpointAddress)

Creates a new instance of the AnnouncementEndpoint class that supports the specified DiscoveryVersion with the specified binding and address.

public:
 AnnouncementEndpoint(System::ServiceModel::Discovery::DiscoveryVersion ^ discoveryVersion, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ address);
public AnnouncementEndpoint (System.ServiceModel.Discovery.DiscoveryVersion discoveryVersion, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress address);
new System.ServiceModel.Discovery.AnnouncementEndpoint : System.ServiceModel.Discovery.DiscoveryVersion * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.Discovery.AnnouncementEndpoint
Public Sub New (discoveryVersion As DiscoveryVersion, binding As Binding, address As EndpointAddress)

Parameters

discoveryVersion
DiscoveryVersion

The discovery version to use.

binding
Binding

The binding to use.

address
EndpointAddress

The address of the endpoint.

Remarks

DiscoveryEndpoint supports two discovery protocols versions: WS-Discovery April 2005 and WS-Discovery July 2008. The version supported by a specific instance is specified by this or any constructor that takes a DiscoveryVersion parameter.

Applies to