Freigeben über


SocketConnectionContextFactory.Create(Socket) Methode

Definition

Erstellen Sie einen ConnectionContext für einen Socket.

public Microsoft.AspNetCore.Connections.ConnectionContext Create (System.Net.Sockets.Socket socket);
member this.Create : System.Net.Sockets.Socket -> Microsoft.AspNetCore.Connections.ConnectionContext
Public Function Create (socket As Socket) As ConnectionContext

Parameter

socket
Socket

Der Socket für die Verbindung.

Gibt zurück

Gilt für: