Constructor StreamAlreadyLockedException
StreamAlreadyLockedException()
Default constructor.
Declaration
public StreamAlreadyLockedException()
StreamAlreadyLockedException(Int32)
Default constructor with errorCode
Declaration
public StreamAlreadyLockedException(int errorCode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode |
StreamAlreadyLockedException(Int32, String)
Default constructor with error code and message
Declaration
public StreamAlreadyLockedException(int errorCode, string reason = "Stream is already locked.")
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | |
System.String | reason |
StreamAlreadyLockedException(SerializationInfo, StreamingContext)
Overloaded constructor, manual serialization.
Declaration
protected StreamAlreadyLockedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |