Langue

DnsResolver.DnsException Constructeurs

Définition

Surcharges

Nom Description
DnsResolver.DnsException(Int32, Throwable)

Initialise une nouvelle instance de DnsResolver.DnsException.

DnsResolver.DnsException(IntPtr, JniHandleOwnership)

Initialise un wrapper managé autour d’un homologue Java existant.

DnsResolver.DnsException(Int32, Throwable)

Initialise une nouvelle instance de DnsResolver.DnsException.

[Android.Runtime.Register(".ctor", "(ILjava/lang/Throwable;)V", "", ApiSince=33)]
public DnsException(int code, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/Throwable;)V", "", ApiSince=33)>]
new Android.Net.DnsResolver.DnsException : int * Java.Lang.Throwable -> Android.Net.DnsResolver.DnsException

Paramètres

code
Int32
cause
Throwable
Attributs

Remarques

Java documentation pour android.net.DnsResolver.DnsException.DnsException(int, java.lang.Throwable).

S’applique à

DnsResolver.DnsException(IntPtr, JniHandleOwnership)

Initialise un wrapper managé autour d’un homologue Java existant.

protected DnsException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.DnsResolver.DnsException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.DnsResolver.DnsException

Paramètres

javaReference
IntPtr

nativeint

Handle vers l’homologue Java.

transfer
JniHandleOwnership

Spécifie la façon dont la propriété est javaReference transférée.

S’applique à