PKPaymentRequest.CreatePaymentContactInvalidError 方法

定义

重载

CreatePaymentContactInvalidError(NSString, String)
CreatePaymentContactInvalidError(PKContactFields, String)

CreatePaymentContactInvalidError(NSString, String)

[Foundation.Export("paymentContactInvalidErrorWithContactField:localizedDescription:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSError CreatePaymentContactInvalidError (Foundation.NSString field, string localizedDescription);
static member CreatePaymentContactInvalidError : Foundation.NSString * string -> Foundation.NSError

参数

field
NSString
localizedDescription
String

内容待定。

此参数可以为 null

返回

属性

适用于

CreatePaymentContactInvalidError(PKContactFields, String)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSError CreatePaymentContactInvalidError (PassKit.PKContactFields contactField, string localizedDescription);
static member CreatePaymentContactInvalidError : PassKit.PKContactFields * string -> Foundation.NSError

参数

contactField
PKContactFields
localizedDescription
String

返回

属性

适用于