AnnouncementClient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.