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