Editar

Compartir a través de


NEProvider.DisplayMessageAsync(String) Method

Definition

Displays a message to the user and passes a Boolean result to a completion handler when it is finished.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, null)]
public virtual System.Threading.Tasks.Task<bool> DisplayMessageAsync (string message);
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual System.Threading.Tasks.Task<bool> DisplayMessageAsync (string message);
abstract member DisplayMessageAsync : string -> System.Threading.Tasks.Task<bool>
override this.DisplayMessageAsync : string -> System.Threading.Tasks.Task<bool>

Parameters

message
String

Returns

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

Attributes

Remarks

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