Sets body encoded data from specified stream.
| C# | Visual Basic | Visual C++ | F# |
public void SetEncodedData( string contentTransferEncoding, Stream stream )
Public Sub SetEncodedData ( contentTransferEncoding As String, stream As Stream )
public: void SetEncodedData( String^ contentTransferEncoding, Stream^ stream )
member SetEncodedData : contentTransferEncoding : string * stream : Stream -> unit
| Exception | Condition |
|---|---|
| ArgumentNullException | Is raised when contentTransferEncoding or stream is null reference. |
| ArgumentException | Is raised when any of the arguments has invalid value. |
| InvalidOperationException | Is raised when this method is accessed and this body is not bounded to any entity. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119