AccessExceptionException public sealed class AccessException : Exception Show allType of exception thrown when the access level for data in a parameter doesn't match with the predefined level. AllConstructorsProperties ObsoleteInherited ConstructorsAccessException#public AccessException()AccessException#public AccessException( stringmessage, ExceptioninnerException)AccessException#public AccessException( stringmessage)AccessException#Create a new AccessException.public AccessException( stringmethodName, Accessrequired, Accessinvoked)PropertiesInvokedAccess#Gets the access invoked by the caller.public Access InvokedAccess { get; }RequiredAccess#Gets the access as specified by the parameter.public Access RequiredAccess { get; }