HybridConnectionListener 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
HybridConnectionListener(String) |
Creates a new instance of HybridConnectionListener using the specified connection string. Use this overload only when AAD is not the method of authentication. |
HybridConnectionListener(String, String) |
Creates a new instance of HybridConnectionListener from a connection string and the specified HybridConection path. Use this overload only when the connection string does not use the EntityPath property, and AAD is not the method of authentication. |
HybridConnectionListener(Uri, TokenProvider) |
Create a new HybridConnectionListener instance for accepting HybridConnections. |
HybridConnectionListener(String)
Creates a new instance of HybridConnectionListener using the specified connection string. Use this overload only when AAD is not the method of authentication.
public HybridConnectionListener (string connectionString);
new Microsoft.Azure.Relay.HybridConnectionListener : string -> Microsoft.Azure.Relay.HybridConnectionListener
Public Sub New (connectionString As String)
Parameters
- connectionString
- String
The connection string to use. This connection string must include the EntityPath property.
Exceptions
Thrown when the format of the connectionString
parameter is incorrect.
Applies to
HybridConnectionListener(String, String)
Creates a new instance of HybridConnectionListener from a connection string and the specified HybridConection path. Use this overload only when the connection string does not use the EntityPath property, and AAD is not the method of authentication.
public HybridConnectionListener (string connectionString, string path);
new Microsoft.Azure.Relay.HybridConnectionListener : string * string -> Microsoft.Azure.Relay.HybridConnectionListener
Public Sub New (connectionString As String, path As String)
Parameters
- connectionString
- String
The connection string used. This connection string must not include the EntityPath property.
- path
- String
The path to the HybridConnection.
Exceptions
Thrown when the format of the connectionString
parameter is incorrect.
Applies to
HybridConnectionListener(Uri, TokenProvider)
Create a new HybridConnectionListener instance for accepting HybridConnections.
public HybridConnectionListener (Uri address, Microsoft.Azure.Relay.TokenProvider tokenProvider);
new Microsoft.Azure.Relay.HybridConnectionListener : Uri * Microsoft.Azure.Relay.TokenProvider -> Microsoft.Azure.Relay.HybridConnectionListener
Public Sub New (address As Uri, tokenProvider As TokenProvider)
Parameters
- address
- Uri
The address on which to listen for HybridConnections. This address should be of the format "sb://contoso.servicebus.windows.net/yourhybridconnection".
- tokenProvider
- TokenProvider
The TokenProvider for connecting this listener to ServiceBus.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기