Class StreamException
StreamException is thrown if any error occurs during operation on CacheStream.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class StreamException : CacheException, ISerializable
Constructors
StreamException()
Default constructor. Initializes the instance of StreamException.
Declaration
public StreamException()
StreamException(SerializationInfo, StreamingContext)
overloaded constructor, manual serialization.
Declaration
protected StreamException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
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. |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |