Compartilhar via


WebPubSubAction.CreateSendToConnectionAction Método

Definição

Sobrecargas

CreateSendToConnectionAction(String, BinaryData, WebPubSubDataType)

Cria uma instância de para associação de SendToConnectionAction saída.

CreateSendToConnectionAction(String, String, WebPubSubDataType)

Cria uma instância de para associação de SendToConnectionAction saída.

CreateSendToConnectionAction(String, BinaryData, WebPubSubDataType)

Origem:
WebPubSubAction.cs

Cria uma instância de para associação de SendToConnectionAction saída.

public static Microsoft.Azure.WebJobs.Extensions.WebPubSub.SendToConnectionAction CreateSendToConnectionAction (string connectionId, BinaryData data, Microsoft.Azure.WebPubSub.Common.WebPubSubDataType dataType);
static member CreateSendToConnectionAction : string * BinaryData * Microsoft.Azure.WebPubSub.Common.WebPubSubDataType -> Microsoft.Azure.WebJobs.Extensions.WebPubSub.SendToConnectionAction
Public Shared Function CreateSendToConnectionAction (connectionId As String, data As BinaryData, dataType As WebPubSubDataType) As SendToConnectionAction

Parâmetros

connectionId
String

ConnectionId de destino.

data
BinaryData

Dados da mensagem.

dataType
WebPubSubDataType

Tipo de dados de mensagem.

Retornos

Uma instância de SendToConnectionAction.

Aplica-se a

CreateSendToConnectionAction(String, String, WebPubSubDataType)

Origem:
WebPubSubAction.cs

Cria uma instância de para associação de SendToConnectionAction saída.

public static Microsoft.Azure.WebJobs.Extensions.WebPubSub.SendToConnectionAction CreateSendToConnectionAction (string connectionId, string data, Microsoft.Azure.WebPubSub.Common.WebPubSubDataType dataType = Microsoft.Azure.WebPubSub.Common.WebPubSubDataType.Text);
static member CreateSendToConnectionAction : string * string * Microsoft.Azure.WebPubSub.Common.WebPubSubDataType -> Microsoft.Azure.WebJobs.Extensions.WebPubSub.SendToConnectionAction
Public Shared Function CreateSendToConnectionAction (connectionId As String, data As String, Optional dataType As WebPubSubDataType = Microsoft.Azure.WebPubSub.Common.WebPubSubDataType.Text) As SendToConnectionAction

Parâmetros

connectionId
String

ConnectionId de destino.

data
String

Dados da mensagem.

dataType
WebPubSubDataType

Tipo de dados de mensagem.

Retornos

Uma instância de SendToConnectionAction.

Aplica-se a