TplExtensions.NoThrowTaskAwaiter Structure

 

An awaiter that wraps a task and never throws an exception when waited on.

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

public struct NoThrowTaskAwaiter : INotifyCompletion

NameDescription
System_CAPS_pubmethodTplExtensions.NoThrowTaskAwaiter(Task, Boolean)

Initializes a new instance of NoThrowTaskAwaiter.

NameDescription
System_CAPS_pubpropertyIsCompleted

Determines whether the task has completed.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethodGetResult()

Does nothing.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodOnCompleted(Action)

Schedules a delegate for execution at the conclusion of a task's execution.

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

This type is thread-safe for all members.

Return to top
Show: