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