Stores body decoded-data to the specified file. Note: This method is available for single part entities only.
| C# | Visual Basic | Visual C++ | F# |
public void DataToFile( string fileName )
Public Sub DataToFile ( fileName As String )
public: void DataToFile( String^ fileName )
member DataToFile : fileName : string -> unit
- fileName (String)
- File name with path, where to store body data.
| Exception | Condition |
|---|---|
| ArgumentNullException | Is raised when fileName is null reference. |
| ArgumentException | Is raised when any of the arguments has invalid value. |
| InvalidOperationException | Is raised when this method is called for multipart entity. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119