ParseExtensionsFetchIfNeededAsyncT Method (T, CancellationToken)Parse
If this ParseObject has not been fetched (i.e. IsDataAvailable returns false), fetches this object with the data from the server.

Namespace: Parse
Assembly: Parse (in Parse.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax

public static Task<T> FetchIfNeededAsync<T>(
	this T obj,
	CancellationToken cancellationToken
)
where T : ParseObject

Parameters

obj
Type: T
The ParseObject to fetch.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Type Parameters

T

Return Value

Type: TaskT

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference