API reference
API reference
Select your platform
No SDKs available
No versions available

OVRTaskBuilder Struct

The AsyncMethodBuilder for OVRTask<TResult>.

Overview

Data Fields

OVRTask< T >?
_task[Get]

Properties

OVRTask< T >
Task[Get]

Public Member Functions

void
AwaitOnCompleted< TAwaiter, TStateMachine >
( ref TAwaiter awaiter,
ref TStateMachine stateMachine )
void
AwaitUnsafeOnCompleted< TAwaiter, TStateMachine >
( ref TAwaiter awaiter,
ref TStateMachine stateMachine )
void
SetException
( Exception exception )
void
SetResult
( T result )
void
SetStateMachine
( IAsyncStateMachine stateMachine )
void
Start< TStateMachine >
( ref TStateMachine stateMachine )

Static Public Member Functions

static OVRTaskBuilder< T >
Create ( )

Details

Detailed Description

Do not use this struct directly. It is used by the compiler to allow OVRTask<TResult> to be used as a task-like object, that is, you can await on it from an awaitable function.
Others
T
The type of the result of an asynchronous operation.

Fields

OVRTask<T>? OVRTaskBuilder< T >._task
No description available.

Properties

OVRTask<T> OVRTaskBuilder< T >.Task
No description available.

Member Functions

void OVRTaskBuilder< T >.AwaitOnCompleted< TAwaiter, TStateMachine >
( ref TAwaiter awaiter,
ref TStateMachine stateMachine )
No description available.
void OVRTaskBuilder< T >.AwaitUnsafeOnCompleted< TAwaiter, TStateMachine >
( ref TAwaiter awaiter,
ref TStateMachine stateMachine )
No description available.
void OVRTaskBuilder< T >.SetException
( Exception exception )
No description available.
void OVRTaskBuilder< T >.SetResult
( T result )
No description available.
void OVRTaskBuilder< T >.SetStateMachine
( IAsyncStateMachine stateMachine )
No description available.
void OVRTaskBuilder< T >.Start< TStateMachine >
( ref TStateMachine stateMachine )
No description available.

Static Member Functions

static OVRTaskBuilder< T > OVRTaskBuilder< T >.Create ( )
No description available.
Did you find this page helpful?