IVsTaskCompletionSource::SetFaulted Method (Int32)

 

Sets the task owned by this source to the faulted state (with the given HRESULT code).

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

void SetFaulted(
	int hr
)

Parameters

hr
Type: System::Int32

The error code to set in the faulted state.

Return to top
Show: