共用方式為


Message Constructors

Definition

Overloads

Message(Message)
Message(Byte[])
Message(Byte[], Dictionary<String,String>)
Message(String, Dictionary<String,String>)

Message(Message)

public Message (Microsoft.Azure.Devices.Gateway.Message message);
new Microsoft.Azure.Devices.Gateway.Message : Microsoft.Azure.Devices.Gateway.Message -> Microsoft.Azure.Devices.Gateway.Message
Public Sub New (message As Message)

Parameters

message
Message

Applies to

Message(Byte[])

public Message (byte[] msgAsByteArray);
new Microsoft.Azure.Devices.Gateway.Message : byte[] -> Microsoft.Azure.Devices.Gateway.Message
Public Sub New (msgAsByteArray As Byte())

Parameters

msgAsByteArray
Byte[]

Applies to

Message(Byte[], Dictionary<String,String>)

public Message (byte[] contentAsByteArray, System.Collections.Generic.Dictionary<string,string> properties);
new Microsoft.Azure.Devices.Gateway.Message : byte[] * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Azure.Devices.Gateway.Message
Public Sub New (contentAsByteArray As Byte(), properties As Dictionary(Of String, String))

Parameters

contentAsByteArray
Byte[]
properties
Dictionary<String,String>

Applies to

Message(String, Dictionary<String,String>)

public Message (string content, System.Collections.Generic.Dictionary<string,string> properties);
new Microsoft.Azure.Devices.Gateway.Message : string * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Azure.Devices.Gateway.Message
Public Sub New (content As String, properties As Dictionary(Of String, String))

Parameters

content
String
properties
Dictionary<String,String>

Applies to