Class StreamException
StreamException is thrown if any error occurs during operation on the CacheStream.
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class StreamException : CacheException, _Exception, ISerializable
              Constructors
StreamException()
Default constructor. Initializes the instance of StreamException.
Declaration
public StreamException()
              StreamException(Int32)
Overloaded constructor
Declaration
public StreamException(int errorCode)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | errorCode | Assigned errorcode  | 
                  
StreamException(Int32, String)
Overloaded constructor
Declaration
public StreamException(int errorCode, string message)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | errorCode | assigned errorcode  | 
                  
| System.String | message | exception message  | 
                  
StreamException(Int32, String, Exception)
Overloaded constructor
Declaration
public StreamException(int errorCode, string message, Exception innerException)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | errorCode | Assigned errorCode  | 
                  
| System.String | message | Exception message  | 
                  
| System.Exception | innerException | nested exception  | 
                  
StreamException(Int32, String, String)
Overloaded constructor
Declaration
public StreamException(int errorCode, string message, string stackTrace)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | errorCode | Assigned errorcode  | 
                  
| System.String | message | exception message  | 
                  
| System.String | stackTrace | Exception stacktrace  | 
                  
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.  |