MethodNotSupportedException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| MethodNotSupportedException(String) |
使用指定的詳細數據訊息建立新的 MethodNotSupportedException。 |
| MethodNotSupportedException(IntPtr, JniHandleOwnership) |
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。 |
| MethodNotSupportedException(String, Throwable) |
使用指定的詳細數據和原因,建立新的 MethodNotSupportedException。 |
MethodNotSupportedException(String)
使用指定的詳細數據訊息建立新的 MethodNotSupportedException。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public MethodNotSupportedException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.Apache.Http.MethodNotSupportedException : string -> Org.Apache.Http.MethodNotSupportedException
參數
- message
- String
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
MethodNotSupportedException(IntPtr, JniHandleOwnership)
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。
protected MethodNotSupportedException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.MethodNotSupportedException : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.MethodNotSupportedException
參數
- transfer
- JniHandleOwnership
JniHandleOwnership,指出如何處理javaReference
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
MethodNotSupportedException(String, Throwable)
使用指定的詳細數據和原因,建立新的 MethodNotSupportedException。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public MethodNotSupportedException (string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Org.Apache.Http.MethodNotSupportedException : string * Java.Lang.Throwable -> Org.Apache.Http.MethodNotSupportedException
參數
- message
- String
- cause
- Throwable
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。