Click or drag to resize
AsyncVoidMethodBuilderSetException Method
This API is preliminary and subject to change.
Faults the method builder with an exception.

Namespace: System.Runtime.CompilerServices
Assembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public void SetException(
	Exception exception
)

Parameters

exception
Type: SystemException
The exception that is the cause of this fault.
Exceptions
ExceptionCondition
ArgumentNullException If exception is .
InvalidOperationExceptionThe builder is not initialized.
Version Information

.NET Framework

Supported in: 3.5

Threading Library

Supported in: 2.1
See Also