Constructor NotAuthorizedException
NotAuthorizedException(SerializationInfo, StreamingContext)
Deserialization constructor. Recreate a NotAuthorizedException from a serialized stream.
protected NotAuthorizedException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoa SerializationInfo object holding the serialized state of the NotAuthorizedException.
contextStreamingContexta 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
messagestringA message explaining the exception.
NotAuthorizedException(string, Exception)
Create a new NotAuthorizedException.
public NotAuthorizedException(string message, Exception innerException)
Parameters
messagestringA message explaining the exception.
innerExceptionExceptionA nested exception that caused the NotAuthorizedException to be thrown.