Share via


WebPubSubAction.CreateSendToConnectionAction Method

Definition

Overloads

CreateSendToConnectionAction(String, BinaryData, WebPubSubDataType)

Creates an instance of SendToConnectionAction for output binding.

CreateSendToConnectionAction(String, String, WebPubSubDataType)

Creates an instance of SendToConnectionAction for output binding.

CreateSendToConnectionAction(String, BinaryData, WebPubSubDataType)

Source:
WebPubSubAction.cs

Creates an instance of SendToConnectionAction for output binding.

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

Parameters

connectionId
String

Target connectionId.

data
BinaryData

Message data.

dataType
WebPubSubDataType

Message data type.

Returns

An instance of SendToConnectionAction.

Applies to

CreateSendToConnectionAction(String, String, WebPubSubDataType)

Source:
WebPubSubAction.cs

Creates an instance of SendToConnectionAction for output binding.

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

Parameters

connectionId
String

Target connectionId.

data
String

Message data.

dataType
WebPubSubDataType

Message data type.

Returns

An instance of SendToConnectionAction.

Applies to