Access Control(String, IEnumerableAccess Right) Constructor
Initializes a new instance of the AccessControl class.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public AccessControl(
string name,
IEnumerable<AccessRight> rights
)Parameters
- name String
- The identifier name.
- rights IEnumerableAccessRight
- The access rights.
Remarks
Creates a new AccessControl with the given name and
access rights.
Exceptions
| ArgumentNullException |
name is . -or- rights is . |