Compartilhar via


UserEventRequest.CreateResponse Método

Definição

Sobrecargas

CreateResponse(BinaryData, WebPubSubDataType)

Crie UserEventResponse.

CreateResponse(String, WebPubSubDataType)

Crie UserEventResponse.

CreateResponse(BinaryData, WebPubSubDataType)

Origem:
UserEventRequest.cs
public Microsoft.Azure.WebPubSub.Common.UserEventResponse CreateResponse (BinaryData data, Microsoft.Azure.WebPubSub.Common.WebPubSubDataType dataType);
member this.CreateResponse : BinaryData * Microsoft.Azure.WebPubSub.Common.WebPubSubDataType -> Microsoft.Azure.WebPubSub.Common.UserEventResponse
Public Function CreateResponse (data As BinaryData, dataType As WebPubSubDataType) As UserEventResponse

Parâmetros

data
BinaryData

Mensagem BinaryData para retornar o chamador.

Retornos

Uma resposta de mensagem para retornar o chamador.

Aplica-se a

CreateResponse(String, WebPubSubDataType)

Origem:
UserEventRequest.cs
public Microsoft.Azure.WebPubSub.Common.UserEventResponse CreateResponse (string data, Microsoft.Azure.WebPubSub.Common.WebPubSubDataType dataType = Microsoft.Azure.WebPubSub.Common.WebPubSubDataType.Text);
member this.CreateResponse : string * Microsoft.Azure.WebPubSub.Common.WebPubSubDataType -> Microsoft.Azure.WebPubSub.Common.UserEventResponse
Public Function CreateResponse (data As String, Optional dataType As WebPubSubDataType = Microsoft.Azure.WebPubSub.Common.WebPubSubDataType.Text) As UserEventResponse

Parâmetros

data
String

Mensagem de cadeia de caracteres para retornar o chamador.

dataType
WebPubSubDataType

Mensagem WebPubSubDataType, padrão como Texto.

Retornos

Uma resposta de mensagem para retornar o chamador.

Aplica-se a