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)
Parameter Type Description
message String The 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)
Parameter Type Description
format String Message format
parameters Object[] 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)
Parameter Type Description
message String The error message that explains the reason for the exception.
innerException Exception The 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