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. |
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. |
message | Message of the exception. |
System. |
innerException | Inner exception. |
StreamException(Int32)
Overloaded constructor
Declaration
public StreamException(int errorCode)
Parameters
Type | Name | Description |
---|---|---|
System. |
errorCode | Assigned errorcode |
StreamException(Int32, String)
Overloaded constructor
Declaration
public StreamException(int errorCode, string message)
Parameters
Type | Name | Description |
---|---|---|
System. |
errorCode | assigned errorcode |
System. |
message | exception message |
StreamException(Int32, String, String)
Overloaded constructor
Declaration
public StreamException(int errorCode, string message, string stackTrace)
Parameters
Type | Name | Description |
---|---|---|
System. |
errorCode | Assigned errorcode |
System. |
message | exception message |
System. |
stackTrace | Exception stacktrace |
StreamException(Int32, String, Exception)
Overloaded constructor
Declaration
public StreamException(int errorCode, string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System. |
errorCode | Assigned errorCode |
System. |
message | Exception message |
System. |
innerException | nested exception |
StreamException(SerializationInfo, StreamingContext)
overloaded constructor, manual serialization.
Declaration
protected StreamException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System. |
info | |
System. |
context |