AsyncVoidMethodBuilderSetException Method |
This API is preliminary and subject to change.
Faults the method builder with an exception.
Namespace: System.Runtime.CompilerServicesAssembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public void SetException(
Exception exception
)
Public Sub SetException (
exception As Exception
)
public:
void SetException(
Exception^ exception
)
member SetException :
exception : Exception -> unit
Parameters
- exception
- Type: SystemException
The exception that is the cause of this fault.
Exceptions Version Information
.NET Framework
Supported in: 3.5
Threading Library
Supported in: 2.1
See Also