語言

MethodNotSupportedException 建構函式

定義

多載

名稱 Description
MethodNotSupportedException(String)

建立一個新的 MethodNotSupportedException,並附上指定的詳細訊息。

MethodNotSupportedException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

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
屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

MethodNotSupportedException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

protected MethodNotSupportedException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.MethodNotSupportedException : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.MethodNotSupportedException

參數

javaReference
IntPtr

nativeint

IntPtr,包含 Java Native Interface (JNI) 對象參考。

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

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
屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於