WebPubSubServiceEndpoint 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.
Overloads
| Name | Description |
|---|---|
| WebPubSubServiceEndpoint(String, WebPubSubServiceClientOptions) |
Create a service endpoint with connection string. |
| WebPubSubServiceEndpoint(Uri, AzureKeyCredential, WebPubSubServiceClientOptions) |
Create a service endpoint with endpoint and Microsoft.Azure.WebPubSub.AspNetCore.WebPubSubServiceEndpoint.AzureKeyCredential. |
| WebPubSubServiceEndpoint(Uri, TokenCredential, WebPubSubServiceClientOptions) |
Create a service endpoint with endpoint and Microsoft.Azure.WebPubSub.AspNetCore.WebPubSubServiceEndpoint.TokenCredential. |
WebPubSubServiceEndpoint(String, WebPubSubServiceClientOptions)
- Source:
- WebPubSubServiceEndpoint.cs
Create a service endpoint with connection string.
public WebPubSubServiceEndpoint(string connectionString, Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions clientOptions = default);
new Microsoft.Azure.WebPubSub.AspNetCore.WebPubSubServiceEndpoint : string * Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions -> Microsoft.Azure.WebPubSub.AspNetCore.WebPubSubServiceEndpoint
Public Sub New (connectionString As String, Optional clientOptions As WebPubSubServiceClientOptions = Nothing)
Parameters
- connectionString
- String
The service endpoint connection string.
- clientOptions
- WebPubSubServiceClientOptions
The WebPubSubServiceClientOptions to use when invoke service.
Applies to
WebPubSubServiceEndpoint(Uri, AzureKeyCredential, WebPubSubServiceClientOptions)
- Source:
- WebPubSubServiceEndpoint.cs
Create a service endpoint with endpoint and Microsoft.Azure.WebPubSub.AspNetCore.WebPubSubServiceEndpoint.AzureKeyCredential.
public WebPubSubServiceEndpoint(Uri endpoint, Azure.AzureKeyCredential credential, Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions clientOptions = default);
new Microsoft.Azure.WebPubSub.AspNetCore.WebPubSubServiceEndpoint : Uri * Azure.AzureKeyCredential * Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions -> Microsoft.Azure.WebPubSub.AspNetCore.WebPubSubServiceEndpoint
Public Sub New (endpoint As Uri, credential As AzureKeyCredential, Optional clientOptions As WebPubSubServiceClientOptions = Nothing)
Parameters
- endpoint
- Uri
The uri of target service endpoint.
- credential
- AzureKeyCredential
The Microsoft.Azure.WebPubSub.AspNetCore.WebPubSubServiceEndpoint.AzureKeyCredential.
- clientOptions
- WebPubSubServiceClientOptions
The WebPubSubServiceClientOptions to use when invoke service.
Applies to
WebPubSubServiceEndpoint(Uri, TokenCredential, WebPubSubServiceClientOptions)
- Source:
- WebPubSubServiceEndpoint.cs
Create a service endpoint with endpoint and Microsoft.Azure.WebPubSub.AspNetCore.WebPubSubServiceEndpoint.TokenCredential.
public WebPubSubServiceEndpoint(Uri endpoint, Azure.Core.TokenCredential credential, Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions clientOptions = default);
new Microsoft.Azure.WebPubSub.AspNetCore.WebPubSubServiceEndpoint : Uri * Azure.Core.TokenCredential * Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions -> Microsoft.Azure.WebPubSub.AspNetCore.WebPubSubServiceEndpoint
Public Sub New (endpoint As Uri, credential As TokenCredential, Optional clientOptions As WebPubSubServiceClientOptions = Nothing)
Parameters
- endpoint
- Uri
The uri of target service endpoint.
- credential
- TokenCredential
The Microsoft.Azure.WebPubSub.AspNetCore.WebPubSubServiceEndpoint.TokenCredential.
- clientOptions
- WebPubSubServiceClientOptions
The WebPubSubServiceClientOptions to use when invoke service.