你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Message.GetBodyStream Method

Definition

Return the body stream of the current event data instance

public System.IO.Stream GetBodyStream();
member this.GetBodyStream : unit -> System.IO.Stream
Public Function GetBodyStream () As Stream

Returns

Exceptions

throws if the method has been called.

throws if the event data has already been disposed.

Remarks

This method can only be called once and afterwards method will throw InvalidOperationException.

Applies to