Bewerken

Share via


AnnouncementClient Constructors

Definition

Creates a new instance of the AnnouncementClient class.

Overloads

AnnouncementClient()

Creates a new instance of the AnnouncementClient class.

AnnouncementClient(AnnouncementEndpoint)

Initializes a new instance of the AnnouncementClient class with the specified AnnouncementEndpoint.

AnnouncementClient(String)

Initializes a new instance of the AnnouncementClient class with the specified endpoint configuration.

AnnouncementClient()

Creates a new instance of the AnnouncementClient class.

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

Applies to

AnnouncementClient(AnnouncementEndpoint)

Initializes a new instance of the AnnouncementClient class with the specified AnnouncementEndpoint.

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

Parameters

announcementEndpoint
AnnouncementEndpoint

The announcement endpoint.

Applies to

AnnouncementClient(String)

Initializes a new instance of the AnnouncementClient class with the specified endpoint configuration.

public:
 AnnouncementClient(System::String ^ endpointConfigurationName);
public AnnouncementClient (string endpointConfigurationName);
new System.ServiceModel.Discovery.AnnouncementClient : string -> System.ServiceModel.Discovery.AnnouncementClient
Public Sub New (endpointConfigurationName As String)

Parameters

endpointConfigurationName
String

The name of the endpoint configuration to use.

Applies to