Class PrivilegeNotHeldException
Inheritance
System.Object
PrivilegeNotHeldException
Implements
System.Runtime.Serialization.ISerializable
Namespace: System.Security.AccessControl
Assembly: IronZip.dll
Syntax
public sealed class PrivilegeNotHeldException : UnauthorizedAccessException
Constructors
PrivilegeNotHeldException()
Declaration
public PrivilegeNotHeldException()
PrivilegeNotHeldException(String)
Declaration
public PrivilegeNotHeldException(string privilege)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | privilege |
PrivilegeNotHeldException(String, Exception)
Declaration
public PrivilegeNotHeldException(string privilege, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | privilege | |
| System.Exception | inner |
Properties
PrivilegeName
Declaration
public string PrivilegeName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context |
Implements
System.Runtime.Serialization.ISerializable