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.

C#
public AnnouncementClient();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

AnnouncementClient(AnnouncementEndpoint)

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

C#
public AnnouncementClient(System.ServiceModel.Discovery.AnnouncementEndpoint announcementEndpoint);

Parameters

announcementEndpoint
AnnouncementEndpoint

The announcement endpoint.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

AnnouncementClient(String)

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

C#
public AnnouncementClient(string endpointConfigurationName);

Parameters

endpointConfigurationName
String

The name of the endpoint configuration to use.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1