HybridConnectionListener.OpenAsync Method
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
OpenAsync() |
Opens the HybridConnectionListener and registers it as a listener in ServiceBus. Unless specified in the connection string the default is 1 minute. |
OpenAsync(CancellationToken) |
Opens the HybridConnectionListener and registers it as a listener in ServiceBus. |
OpenAsync(TimeSpan) |
Opens the HybridConnectionListener and registers it as a listener in ServiceBus. |
OpenAsync()
Opens the HybridConnectionListener and registers it as a listener in ServiceBus. Unless specified in the connection string the default is 1 minute.
public System.Threading.Tasks.Task OpenAsync ();
member this.OpenAsync : unit -> System.Threading.Tasks.Task
Public Function OpenAsync () As Task
Returns
Applies to
OpenAsync(CancellationToken)
Opens the HybridConnectionListener and registers it as a listener in ServiceBus.
public System.Threading.Tasks.Task OpenAsync (System.Threading.CancellationToken cancellationToken);
member this.OpenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OpenAsync (cancellationToken As CancellationToken) As Task
Parameters
- cancellationToken
- CancellationToken
A cancellation token to observe.
Returns
Applies to
OpenAsync(TimeSpan)
Opens the HybridConnectionListener and registers it as a listener in ServiceBus.
public System.Threading.Tasks.Task OpenAsync (TimeSpan timeout);
member this.OpenAsync : TimeSpan -> System.Threading.Tasks.Task
Public Function OpenAsync (timeout As TimeSpan) As Task
Parameters
- timeout
- TimeSpan
A timeout to observe.
Returns
Applies to
Azure SDK for .NET