Partager via


DnsResolver.DnsException Constructors

Definition

Overloads

DnsResolver.DnsException(Int32, Throwable)
DnsResolver.DnsException(IntPtr, JniHandleOwnership)

DnsResolver.DnsException(Int32, Throwable)

[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

Parameters

code
Int32
cause
Throwable
Attributes

Applies to

DnsResolver.DnsException(IntPtr, JniHandleOwnership)

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

Parameters

javaReference
IntPtr

nativeint

Applies to