Condividi tramite


EventHubsConnectionStringBuilder Constructors

Definition

Overloads

EventHubsConnectionStringBuilder(String)

ConnectionString format: Endpoint=sb://namespace_DNS_Name;EntityPath=EVENT_HUB_NAME;SharedAccessKeyName=SHARED_ACCESS_KEY_NAME;SharedAccessKey=SHARED_ACCESS_KEY

EventHubsConnectionStringBuilder(Uri, String, String, String)

Build a connection string consumable by CreateFromConnectionString(String)

EventHubsConnectionStringBuilder(Uri, String, String, TimeSpan)

Build a connection string consumable by CreateFromConnectionString(String)

EventHubsConnectionStringBuilder(Uri, String, String, String, TimeSpan)

Build a connection string consumable by CreateFromConnectionString(String)

EventHubsConnectionStringBuilder(String)

Source:
EventHubsConnectionStringBuilder.cs

ConnectionString format: Endpoint=sb://namespace_DNS_Name;EntityPath=EVENT_HUB_NAME;SharedAccessKeyName=SHARED_ACCESS_KEY_NAME;SharedAccessKey=SHARED_ACCESS_KEY

public EventHubsConnectionStringBuilder (string connectionString);
new Microsoft.Azure.EventHubs.EventHubsConnectionStringBuilder : string -> Microsoft.Azure.EventHubs.EventHubsConnectionStringBuilder
Public Sub New (connectionString As String)

Parameters

connectionString
String

Event Hubs ConnectionString

Applies to

EventHubsConnectionStringBuilder(Uri, String, String, String)

Source:
EventHubsConnectionStringBuilder.cs

Build a connection string consumable by CreateFromConnectionString(String)

public EventHubsConnectionStringBuilder (Uri endpointAddress, string entityPath, string sharedAccessKeyName, string sharedAccessKey);
new Microsoft.Azure.EventHubs.EventHubsConnectionStringBuilder : Uri * string * string * string -> Microsoft.Azure.EventHubs.EventHubsConnectionStringBuilder
Public Sub New (endpointAddress As Uri, entityPath As String, sharedAccessKeyName As String, sharedAccessKey As String)

Parameters

endpointAddress
Uri

Fully qualified domain name for Event Hubs. Most likely, {yournamespace}.servicebus.windows.net

entityPath
String

Entity path or Event Hub name.

sharedAccessKeyName
String

Shared Access Key name

sharedAccessKey
String

Shared Access Key

Applies to

EventHubsConnectionStringBuilder(Uri, String, String, TimeSpan)

Source:
EventHubsConnectionStringBuilder.cs

Build a connection string consumable by CreateFromConnectionString(String)

public EventHubsConnectionStringBuilder (Uri endpointAddress, string entityPath, string sharedAccessSignature, TimeSpan operationTimeout);
new Microsoft.Azure.EventHubs.EventHubsConnectionStringBuilder : Uri * string * string * TimeSpan -> Microsoft.Azure.EventHubs.EventHubsConnectionStringBuilder
Public Sub New (endpointAddress As Uri, entityPath As String, sharedAccessSignature As String, operationTimeout As TimeSpan)

Parameters

endpointAddress
Uri

Fully qualified domain name for Event Hubs. Most likely, {yournamespace}.servicebus.windows.net

entityPath
String

Entity path or Event Hub name.

sharedAccessSignature
String

Shared Access Signature

operationTimeout
TimeSpan

Operation timeout for Event Hubs operations

Applies to

EventHubsConnectionStringBuilder(Uri, String, String, String, TimeSpan)

Source:
EventHubsConnectionStringBuilder.cs

Build a connection string consumable by CreateFromConnectionString(String)

public EventHubsConnectionStringBuilder (Uri endpointAddress, string entityPath, string sharedAccessKeyName, string sharedAccessKey, TimeSpan operationTimeout);
new Microsoft.Azure.EventHubs.EventHubsConnectionStringBuilder : Uri * string * string * string * TimeSpan -> Microsoft.Azure.EventHubs.EventHubsConnectionStringBuilder
Public Sub New (endpointAddress As Uri, entityPath As String, sharedAccessKeyName As String, sharedAccessKey As String, operationTimeout As TimeSpan)

Parameters

endpointAddress
Uri

Fully qualified domain name for Event Hubs. Most likely, {yournamespace}.servicebus.windows.net

entityPath
String

Entity path or Event Hub name.

sharedAccessKeyName
String

Shared Access Key name

sharedAccessKey
String

Shared Access Key

operationTimeout
TimeSpan

Operation timeout for Event Hubs operations

Applies to