PKPaymentRequest.CreatePaymentContactInvalidError 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
返回
- 属性
适用于
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
返回
- 属性