GKTurnBasedMatch.DeclineInviteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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