DnsResolver.DnsException Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| DnsResolver.DnsException(Int32, Throwable) |
Initialise une nouvelle instance de |
| 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.