AccessException

Exception
public sealed class AccessException : Exception
Type of exception thrown when the access level for data in a parameter doesn't match with the predefined level.

Constructors

AccessException

#
public AccessException()

AccessException

#
public AccessException(
message,
innerException
)

AccessException

#
public AccessException(
message
)

AccessException

#
Create a new AccessException.
public AccessException(
methodName,
required,
invoked
)

Properties

InvokedAccess

#
Gets the access invoked by the caller.
public Access InvokedAccess { get; }

RequiredAccess

#
Gets the access as specified by the parameter.
public Access RequiredAccess { get; }