HybridConnectionListener.AcceptConnectionAsync Method

Definition

Accepts a new HybridConnection which was initiated by a remote client and returns the Stream.

public System.Threading.Tasks.Task<Microsoft.Azure.Relay.HybridConnectionStream> AcceptConnectionAsync ();
member this.AcceptConnectionAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Relay.HybridConnectionStream>
Public Function AcceptConnectionAsync () As Task(Of HybridConnectionStream)

Returns

Task<HybridConnectionStream>

Applies to