GetWalletCardsError 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GetWalletCardsError(Icon, ICharSequence) |
建立新的錯誤回應。 |
| GetWalletCardsError(Icon, String) |
GetWalletCardsError(Icon, ICharSequence)
建立新的錯誤回應。
[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)V", "", ApiSince=30)]
public GetWalletCardsError(Android.Graphics.Drawables.Icon? icon, Java.Lang.ICharSequence? message);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)V", "", ApiSince=30)>]
new Android.Service.QuickAccessWallet.GetWalletCardsError : Android.Graphics.Drawables.Icon * Java.Lang.ICharSequence -> Android.Service.QuickAccessWallet.GetWalletCardsError
參數
- icon
- Icon
一個圖示會在訊息旁邊顯示給使用者。 Optional.
- message
- ICharSequence
訊息將顯示給使用者。 Optional.
- 屬性
備註
建立新的錯誤回應。 若提供該圖示與訊息,將顯示給使用者。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
GetWalletCardsError(Icon, String)
[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)V", "", ApiSince=30)]
public GetWalletCardsError(Android.Graphics.Drawables.Icon? icon, string? message);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)V", "", ApiSince=30)>]
new Android.Service.QuickAccessWallet.GetWalletCardsError : Android.Graphics.Drawables.Icon * string -> Android.Service.QuickAccessWallet.GetWalletCardsError
參數
- icon
- Icon
- message
- String
- 屬性