Constructor StreamException
StreamException()
Default constructor. Initializes the instance of StreamException.
Declaration
public StreamException()
StreamException(String)
Initializes the instance of StreamException with give message.
Declaration
public StreamException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Message of the exception. |
StreamException(String, Exception)
Initializes the instance of StreamException with give message.
Declaration
public StreamException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Message of the exception. |
Exception | innerException | Inner exception. |
StreamException(Int32)
Overloaded constructor
Declaration
public StreamException(int errorCode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | Assigned errorcode |
StreamException(Int32, String)
Overloaded constructor
Declaration
public StreamException(int errorCode, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
System.String | message | exception message |
StreamException(Int32, String, String)
Overloaded constructor
Declaration
public StreamException(int errorCode, string message, string stackTrace)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | Assigned errorcode |
System.String | message | exception message |
System.String | stackTrace | Exception stacktrace |
StreamException(Int32, String, Exception)
Overloaded constructor
Declaration
public StreamException(int errorCode, string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | Assigned errorCode |
System.String | message | Exception message |
Exception | innerException | nested exception |
StreamException(SerializationInfo, StreamingContext)
overloaded constructor, manual serialization.
Declaration
protected StreamException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |