OperationCanceledException.OperationCanceledException

OperationCanceledException()

Initializes a new instance of the OperationCanceledException class.

public OperationCanceledException()

See Also


OperationCanceledException(string)

Initializes a new instance of the OperationCanceledException class with a specified error message.

public OperationCanceledException(string message)
ParameterTypeDescription
messageStringThe message that describes the error.

See Also


OperationCanceledException(string, params object[])

Initializes a new instance of the OperationCanceledException class with a specified error message.

public OperationCanceledException(string format, params object[] parameters)
ParameterTypeDescription
formatStringMessage format
parametersObject[]Format parameters

See Also


OperationCanceledException(string, Exception)

Initializes a new instance of the OperationCanceledException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public OperationCanceledException(string message, Exception innerException)
ParameterTypeDescription
messageStringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

See Also