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