Share via


NSBundleResourceRequest.ConditionallyBeginAccessingResourcesAsync Method

Definition

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<bool> ConditionallyBeginAccessingResourcesAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ConditionallyBeginAccessingResourcesAsync : unit -> System.Threading.Tasks.Task<bool>
override this.ConditionallyBeginAccessingResourcesAsync : unit -> System.Threading.Tasks.Task<bool>

Returns

A task that represents the asynchronous ConditionallyBeginAccessingResources operation. The value of the TResult parameter is of type System.Action<System.Boolean>.

Attributes

Remarks

The ConditionallyBeginAccessingResourcesAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to