Class MemberIsStoppedException
This exception is thrown whenever the object is not initailized.
Inheritance
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class MemberIsStoppedException : Exception, ISerializable, _Exception
Constructors
MemberIsStoppedException()
The default constructor of MemberIsStoopedException class.
Declaration
public MemberIsStoppedException()
MemberIsStoppedException(SerializationInfo, StreamingContext)
An overloaded constructor that takes serialization info and streaming context.
Declaration
protected MemberIsStoppedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | Stores all the data needed to serialize or deserialize an object. |
System.Runtime.Serialization.StreamingContext | context | Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. |
MemberIsStoppedException(String)
An overloaded constructor that takes message as parameter.
Declaration
public MemberIsStoppedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception Message. |
MemberIsStoppedException(String, Exception)
An overloaded constructor that takes message and nested exception as parameters.
Declaration
public MemberIsStoppedException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception message. |
System.Exception | inner | Nested exception. |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Populates the SerializationInfo class with the data needed to serialize the target object.
Declaration
[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | Stores all the data needed to serialize or deserialize an object. |
System.Runtime.Serialization.StreamingContext | context | Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. |