WebPubSubServiceClientOptions Constructor
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.
Initializes a new instance of the WebPubSubServiceClientOptions.
public WebPubSubServiceClientOptions (Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions.ServiceVersion version = Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions+ServiceVersion.V2024_01_01);
new Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions : Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions.ServiceVersion -> Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions
Public Sub New (Optional version As WebPubSubServiceClientOptions.ServiceVersion = Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions+ServiceVersion.V2024_01_01)
Parameters
An optional WebPubSubServiceClientOptions.ServiceVersion to specify the version of the REST API to use.
If not provided, the version
will default to the latest supported by this client library.
It is recommended that application authors allow the version to float to the latest and
library authors pin to a specific version.
Exceptions
Thrown when the version
is not supported by this client library.