Class SecurityException
Thrown when a user does not have the permissions to start/stop/initialize the cache.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class SecurityException : CacheException
Constructors
SecurityException()
default constructor.
Declaration
public SecurityException()
SecurityException(SerializationInfo, StreamingContext)
overloaded constructor, manual serialization.
Declaration
protected SecurityException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
SecurityException(String)
overloaded constructor, takes the reason as parameter.
Declaration
public SecurityException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
SecurityException(String, Exception)
overloaded constructor.
Declaration
public SecurityException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | reason for exception |
Exception | inner | nested exception |
Methods
GetObjectData(SerializationInfo, StreamingContext)
manual serialization
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |