Compartilhar via


NEProvider.CreateUdpSessionToEndpoint(NWEndpoint, NWHostEndpoint) Método

Definição

Cria uma conexão UDP com os valores especificados.

[Foundation.Export("createUDPSessionToEndpoint:fromEndpoint:")]
public virtual NetworkExtension.NWUdpSession CreateUdpSessionToEndpoint (NetworkExtension.NWEndpoint remoteEndpoint, NetworkExtension.NWHostEndpoint localEndpoint);
abstract member CreateUdpSessionToEndpoint : NetworkExtension.NWEndpoint * NetworkExtension.NWHostEndpoint -> NetworkExtension.NWUdpSession
override this.CreateUdpSessionToEndpoint : NetworkExtension.NWEndpoint * NetworkExtension.NWHostEndpoint -> NetworkExtension.NWUdpSession

Parâmetros

remoteEndpoint
NWEndpoint
localEndpoint
NWHostEndpoint

A ser adicionado.

Esse parâmetro pode ser null.

Retornos

Atributos

Aplica-se a