WebPubSubChatMessageContent.FromBinary(BinaryData) 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.
Creates message content containing binary data.
public static Azure.Messaging.WebPubSub.Chat.WebPubSubChatMessageContent FromBinary(BinaryData binary);
static member FromBinary : BinaryData -> Azure.Messaging.WebPubSub.Chat.WebPubSubChatMessageContent
Public Shared Function FromBinary (binary As BinaryData) As WebPubSubChatMessageContent
Parameters
- binary
- BinaryData
The binary content.
Returns
Message content containing only binary data.
Exceptions
binary is null.