Constructor StreamCloseException
StreamCloseException()
Default constructor. Initializes the instance of StreamCloseException.
Declaration
public StreamCloseException()
StreamCloseException(Int32)
Overloaded exception.
Declaration
public StreamCloseException(int errorCode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | error code for the exception |
StreamCloseException(Int32, String)
OverLoaded exception
Declaration
public StreamCloseException(int errorCode, string reason = "Stream is closed")
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | error code for the exception |
System.String | reason | reason for exception |
StreamCloseException(SerializationInfo, StreamingContext)
Overloaded constructor, manual serialization.
Declaration
protected StreamCloseException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |