Constructor NotAuthorizedException
NotAuthorizedException(SerializationInfo, StreamingContext)
Deserialization constructor. Recreate a NotAuthorizedException from a serialized stream.
protected NotAuthorizedException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoa SerializationInfo object holding the serialized state of the NotAuthorizedException.
context
StreamingContexta StreamingContext object providing context about the serialization operation.
NotAuthorizedException()
Create a new NotAuthorizedException with default parameters.
public NotAuthorizedException()
NotAuthorizedException(string)
Create a new NotAuthorizedException.
public NotAuthorizedException(string message)
Parameters
message
stringA message explaining the exception.
NotAuthorizedException(string, Exception)
Create a new NotAuthorizedException.
public NotAuthorizedException(string message, Exception innerException)
Parameters
message
stringA message explaining the exception.
innerException
ExceptionA nested exception that caused the NotAuthorizedException to be thrown.