WebPubSubAction.CreateSendToUserAction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateSendToUserAction(String, BinaryData, WebPubSubDataType) |
Creates an instance of SendToUserAction for output binding. |
CreateSendToUserAction(String, String, WebPubSubDataType) |
Creates an instance of SendToUserAction for output binding. |
CreateSendToUserAction(String, BinaryData, WebPubSubDataType)
- Source:
- WebPubSubAction.cs
Creates an instance of SendToUserAction for output binding.
public static Microsoft.Azure.WebJobs.Extensions.WebPubSub.SendToUserAction CreateSendToUserAction (string userId, BinaryData data, Microsoft.Azure.WebPubSub.Common.WebPubSubDataType dataType);
static member CreateSendToUserAction : string * BinaryData * Microsoft.Azure.WebPubSub.Common.WebPubSubDataType -> Microsoft.Azure.WebJobs.Extensions.WebPubSub.SendToUserAction
Public Shared Function CreateSendToUserAction (userId As String, data As BinaryData, dataType As WebPubSubDataType) As SendToUserAction
Parameters
- userId
- String
Target userId.
- data
- BinaryData
Message data.
- dataType
- WebPubSubDataType
Message data type.
Returns
An instance of SendToUserAction.
Applies to
CreateSendToUserAction(String, String, WebPubSubDataType)
- Source:
- WebPubSubAction.cs
Creates an instance of SendToUserAction for output binding.
public static Microsoft.Azure.WebJobs.Extensions.WebPubSub.SendToUserAction CreateSendToUserAction (string userId, string data, Microsoft.Azure.WebPubSub.Common.WebPubSubDataType dataType = Microsoft.Azure.WebPubSub.Common.WebPubSubDataType.Text);
static member CreateSendToUserAction : string * string * Microsoft.Azure.WebPubSub.Common.WebPubSubDataType -> Microsoft.Azure.WebJobs.Extensions.WebPubSub.SendToUserAction
Public Shared Function CreateSendToUserAction (userId As String, data As String, Optional dataType As WebPubSubDataType = Microsoft.Azure.WebPubSub.Common.WebPubSubDataType.Text) As SendToUserAction
Parameters
- userId
- String
Target userId.
- data
- String
Message data.
- dataType
- WebPubSubDataType
Message data type.
Returns
An instance of SendToUserAction.
Applies to
Azure SDK for .NET