Class StreamException
StreamException is thrown if any error occurs during operation on CacheStream.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class StreamException : CacheException, _Exception, ISerializable
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 |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.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. |
System.Exception | innerException | Inner exception. |
GetObjectData(SerializationInfo, StreamingContext)
Declaration
[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |