Delen via


EventData.GetBodyStream Method

Definition

Gets or sets the underlying stream to the event data body.

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

Returns

The underlying stream to the event data body.

Remarks

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

Applies to