次の方法で共有


EventGridReceiverClient Constructors

Definition

Overloads

EventGridReceiverClient()

Initializes a new instance of EventGridReceiverClient for mocking.

EventGridReceiverClient(Uri, String, String, AzureKeyCredential)

Initializes a new instance of EventGridReceiverClient.

EventGridReceiverClient(Uri, String, String, TokenCredential)

Initializes a new instance of EventGridReceiverClient.

EventGridReceiverClient(Uri, String, String, AzureKeyCredential, EventGridReceiverClientOptions)

Initializes a new instance of EventGridReceiverClient.

EventGridReceiverClient(Uri, String, String, TokenCredential, EventGridReceiverClientOptions)

Initializes a new instance of EventGridReceiverClient.

EventGridReceiverClient()

Source:
EventGridReceiverClient.cs

Initializes a new instance of EventGridReceiverClient for mocking.

protected EventGridReceiverClient ();
Protected Sub New ()

Applies to

EventGridReceiverClient(Uri, String, String, AzureKeyCredential)

Source:
EventGridReceiverClient.cs

Initializes a new instance of EventGridReceiverClient.

public EventGridReceiverClient (Uri endpoint, string topicName, string subscriptionName, Azure.AzureKeyCredential credential);
new Azure.Messaging.EventGrid.Namespaces.EventGridReceiverClient : Uri * string * string * Azure.AzureKeyCredential -> Azure.Messaging.EventGrid.Namespaces.EventGridReceiverClient
Public Sub New (endpoint As Uri, topicName As String, subscriptionName As String, credential As AzureKeyCredential)

Parameters

endpoint
Uri

The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net.

topicName
String

The topic to receive from.

subscriptionName
String

The subscription to receive from within the topic.

credential
AzureKeyCredential

A credential used to authenticate to an Azure Service.

Exceptions

endpoint or credential is null.

Applies to

EventGridReceiverClient(Uri, String, String, TokenCredential)

Source:
EventGridReceiverClient.cs

Initializes a new instance of EventGridReceiverClient.

public EventGridReceiverClient (Uri endpoint, string topicName, string subscriptionName, Azure.Core.TokenCredential credential);
new Azure.Messaging.EventGrid.Namespaces.EventGridReceiverClient : Uri * string * string * Azure.Core.TokenCredential -> Azure.Messaging.EventGrid.Namespaces.EventGridReceiverClient
Public Sub New (endpoint As Uri, topicName As String, subscriptionName As String, credential As TokenCredential)

Parameters

endpoint
Uri

The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net.

topicName
String

The topic to receive from.

subscriptionName
String

The subscription to receive from within the topic.

credential
TokenCredential

A credential used to authenticate to an Azure Service.

Exceptions

endpoint or credential is null.

Applies to

EventGridReceiverClient(Uri, String, String, AzureKeyCredential, EventGridReceiverClientOptions)

Source:
EventGridReceiverClient.cs

Initializes a new instance of EventGridReceiverClient.

public EventGridReceiverClient (Uri endpoint, string topicName, string subscriptionName, Azure.AzureKeyCredential credential, Azure.Messaging.EventGrid.Namespaces.EventGridReceiverClientOptions options);
new Azure.Messaging.EventGrid.Namespaces.EventGridReceiverClient : Uri * string * string * Azure.AzureKeyCredential * Azure.Messaging.EventGrid.Namespaces.EventGridReceiverClientOptions -> Azure.Messaging.EventGrid.Namespaces.EventGridReceiverClient
Public Sub New (endpoint As Uri, topicName As String, subscriptionName As String, credential As AzureKeyCredential, options As EventGridReceiverClientOptions)

Parameters

endpoint
Uri

The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net.

topicName
String

The topic to receive from.

subscriptionName
String

The subscription to receive from within the topic.

credential
AzureKeyCredential

A credential used to authenticate to an Azure Service.

options
EventGridReceiverClientOptions

The options for configuring the client.

Exceptions

endpoint or credential is null.

Applies to

EventGridReceiverClient(Uri, String, String, TokenCredential, EventGridReceiverClientOptions)

Source:
EventGridReceiverClient.cs

Initializes a new instance of EventGridReceiverClient.

public EventGridReceiverClient (Uri endpoint, string topicName, string subscriptionName, Azure.Core.TokenCredential credential, Azure.Messaging.EventGrid.Namespaces.EventGridReceiverClientOptions options);
new Azure.Messaging.EventGrid.Namespaces.EventGridReceiverClient : Uri * string * string * Azure.Core.TokenCredential * Azure.Messaging.EventGrid.Namespaces.EventGridReceiverClientOptions -> Azure.Messaging.EventGrid.Namespaces.EventGridReceiverClient
Public Sub New (endpoint As Uri, topicName As String, subscriptionName As String, credential As TokenCredential, options As EventGridReceiverClientOptions)

Parameters

endpoint
Uri

The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net.

topicName
String

The topic to receive from.

subscriptionName
String

The subscription to receive from within the topic.

credential
TokenCredential

A credential used to authenticate to an Azure Service.

options
EventGridReceiverClientOptions

The options for configuring the client.

Exceptions

endpoint or credential is null.

Applies to