編集

次の方法で共有


MessageContext.GetUTF8SourcePayloadAsString Method

Definition

Gets the SourcePayload as UTF8 encoded String.

public:
 System::String ^ GetUTF8SourcePayloadAsString();
public string GetUTF8SourcePayloadAsString();
member this.GetUTF8SourcePayloadAsString : unit -> string
Public Function GetUTF8SourcePayloadAsString () As String

Remarks

Implementation copied from public override unsafe string ToString() method of BinaryData. No special treatment is given to the contents of the data, it is merely decoded as a UTF-8 string. For a JPEG or other binary file format the string will largely be nonsense with many embedded NUL characters, and UTF-8 JSON values will look like their file/network representation, including starting and stopping quotes on a string.

Applies to