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)

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
System.String

Event Hubs ConnectionString

Applies to

EventHubsConnectionStringBuilder(Uri, String, String, String)

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
System.Uri

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

entityPath
System.String

Entity path or Event Hub name.

sharedAccessKeyName
System.String

Shared Access Key name

sharedAccessKey
System.String

Shared Access Key

Applies to

EventHubsConnectionStringBuilder(Uri, String, String, TimeSpan)

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
System.Uri

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

entityPath
System.String

Entity path or Event Hub name.

sharedAccessSignature
System.String

Shared Access Signature

operationTimeout
System.TimeSpan

Operation timeout for Event Hubs operations

Applies to

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

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
System.Uri

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

entityPath
System.String

Entity path or Event Hub name.

sharedAccessKeyName
System.String

Shared Access Key name

sharedAccessKey
System.String

Shared Access Key

operationTimeout
System.TimeSpan

Operation timeout for Event Hubs operations

Applies to