Share via


FPUIActionExtensionContext.CancelRequest(NSError) Method

Definition

Cancels the request with the specified error.

[Foundation.Export("cancelRequestWithError:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void CancelRequest(Foundation.NSError error);
[<Foundation.Export("cancelRequestWithError:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.CancelRequest : Foundation.NSError -> unit

Parameters

error
NSError

On failure, contains the error that occurred.

Attributes

Applies to