Share via


GKTurnBasedMatch.DeclineInviteAsync Method

Definition

Asynchronously declines an invitation to a match.

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

Returns

A task that represents the asynchronous DeclineInvite operation. The value of the TResult parameter is of type System.Action<GameKit.GKTurnBasedMatch,Foundation.NSError>.

Attributes

Applies to