Share via


NSExtensionContext.OpenUrlAsync(NSUrl) Method

Definition

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

Parameters

url
NSUrl

Returns

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

Attributes

Remarks

The OpenUrlAsync 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