public class Dns extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.Dns
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Net.NameResolution, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.NameResolution
|
static java.lang.String |
className
Qualified class name: System.Net.Dns
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Dns() |
Dns(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static IAsyncResult |
BeginGetHostAddresses(java.lang.String hostNameOrAddress,
AsyncCallback requestCallback,
NetObject state)
Invokes the .NET member BeginGetHostAddresses.
|
static IAsyncResult |
BeginGetHostByName(java.lang.String hostName,
AsyncCallback requestCallback,
NetObject stateObject)
Invokes the .NET member BeginGetHostByName.
|
static IAsyncResult |
BeginGetHostEntry(IPAddress address,
AsyncCallback requestCallback,
NetObject stateObject)
Invokes the .NET member BeginGetHostEntry.
|
static IAsyncResult |
BeginGetHostEntry(java.lang.String hostNameOrAddress,
AsyncCallback requestCallback,
NetObject stateObject)
Invokes the .NET member BeginGetHostEntry.
|
static IAsyncResult |
BeginResolve(java.lang.String hostName,
AsyncCallback requestCallback,
NetObject stateObject)
Invokes the .NET member BeginResolve.
|
static Dns |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Dns, a cast assert is made to check if types are compatible. |
static IPAddress[] |
EndGetHostAddresses(IAsyncResult asyncResult)
Invokes the .NET member EndGetHostAddresses.
|
static IPHostEntry |
EndGetHostByName(IAsyncResult asyncResult)
Invokes the .NET member EndGetHostByName.
|
static IPHostEntry |
EndGetHostEntry(IAsyncResult asyncResult)
Invokes the .NET member EndGetHostEntry.
|
static IPHostEntry |
EndResolve(IAsyncResult asyncResult)
Invokes the .NET member EndResolve.
|
static IPAddress[] |
GetHostAddresses(java.lang.String hostNameOrAddress)
Invokes the .NET member GetHostAddresses.
|
static IPAddress[] |
GetHostAddresses(java.lang.String hostNameOrAddress,
AddressFamily family)
Invokes the .NET member GetHostAddresses.
|
static Task_1 |
GetHostAddressesAsync(java.lang.String hostNameOrAddress)
Invokes the .NET member GetHostAddressesAsync.
|
static Task_1 |
GetHostAddressesAsync(java.lang.String hostNameOrAddress,
AddressFamily family,
CancellationToken cancellationToken)
Invokes the .NET member GetHostAddressesAsync.
|
static Task_1 |
GetHostAddressesAsync(java.lang.String hostNameOrAddress,
CancellationToken cancellationToken)
Invokes the .NET member GetHostAddressesAsync.
|
static IPHostEntry |
GetHostByAddress(IPAddress address)
Invokes the .NET member GetHostByAddress.
|
static IPHostEntry |
GetHostByAddress(java.lang.String address)
Invokes the .NET member GetHostByAddress.
|
static IPHostEntry |
GetHostByName(java.lang.String hostName)
Invokes the .NET member GetHostByName.
|
static IPHostEntry |
GetHostEntry(IPAddress address)
Invokes the .NET member GetHostEntry.
|
static IPHostEntry |
GetHostEntry(java.lang.String hostNameOrAddress)
Invokes the .NET member GetHostEntry.
|
static IPHostEntry |
GetHostEntry(java.lang.String hostNameOrAddress,
AddressFamily family)
Invokes the .NET member GetHostEntry.
|
static Task_1 |
GetHostEntryAsync(IPAddress address)
Invokes the .NET member GetHostEntryAsync.
|
static Task_1 |
GetHostEntryAsync(java.lang.String hostNameOrAddress)
Invokes the .NET member GetHostEntryAsync.
|
static Task_1 |
GetHostEntryAsync(java.lang.String hostNameOrAddress,
AddressFamily family,
CancellationToken cancellationToken)
Invokes the .NET member GetHostEntryAsync.
|
static Task_1 |
GetHostEntryAsync(java.lang.String hostNameOrAddress,
CancellationToken cancellationToken)
Invokes the .NET member GetHostEntryAsync.
|
static java.lang.String |
GetHostName()
Invokes the .NET member GetHostName.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static IPHostEntry |
Resolve(java.lang.String hostName)
Invokes the .NET member Resolve.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Dns()
throws java.lang.Throwable
java.lang.Throwablepublic Dns(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static IAsyncResult BeginGetHostAddresses(java.lang.String hostNameOrAddress, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException, ObjectDisposedException, RankException, ArrayTypeMismatchException
hostNameOrAddress - the argument of type java.lang.StringrequestCallback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static IAsyncResult BeginGetHostByName(java.lang.String hostName, AsyncCallback requestCallback, NetObject stateObject) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException, ObjectDisposedException, RankException, ArrayTypeMismatchException
hostName - the argument of type java.lang.StringrequestCallback - the argument of type AsyncCallbackstateObject - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static IAsyncResult BeginGetHostEntry(IPAddress address, AsyncCallback requestCallback, NetObject stateObject) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException, ArrayTypeMismatchException
address - the argument of type IPAddressrequestCallback - the argument of type AsyncCallbackstateObject - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static IAsyncResult BeginGetHostEntry(java.lang.String hostNameOrAddress, AsyncCallback requestCallback, NetObject stateObject) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, FormatException, OutOfMemoryException, SocketException, IndexOutOfRangeException, TaskSchedulerException
hostNameOrAddress - the argument of type java.lang.StringrequestCallback - the argument of type AsyncCallbackstateObject - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSocketException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic static IAsyncResult BeginResolve(java.lang.String hostName, AsyncCallback requestCallback, NetObject stateObject) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException, ObjectDisposedException, RankException, ArrayTypeMismatchException
hostName - the argument of type java.lang.StringrequestCallback - the argument of type AsyncCallbackstateObject - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static Dns cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Dns, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDns instancejava.lang.Throwable - in case of error during cast operationpublic static IPAddress[] EndGetHostAddresses(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
asyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic static IPHostEntry EndGetHostByName(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
asyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic static IPHostEntry EndGetHostEntry(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
asyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic static IPHostEntry EndResolve(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
asyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static IPAddress[] GetHostAddresses(java.lang.String hostNameOrAddress) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException
hostNameOrAddress - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic static IPAddress[] GetHostAddresses(java.lang.String hostNameOrAddress, AddressFamily family) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException
hostNameOrAddress - the argument of type java.lang.Stringfamily - the argument of type AddressFamilyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic static Task_1 GetHostAddressesAsync(java.lang.String hostNameOrAddress) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException, ArrayTypeMismatchException, ObjectDisposedException
hostNameOrAddress - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static Task_1 GetHostAddressesAsync(java.lang.String hostNameOrAddress, AddressFamily family, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException, ArrayTypeMismatchException, ObjectDisposedException
hostNameOrAddress - the argument of type java.lang.Stringfamily - the argument of type AddressFamilycancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static Task_1 GetHostAddressesAsync(java.lang.String hostNameOrAddress, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException, ArrayTypeMismatchException, ObjectDisposedException
hostNameOrAddress - the argument of type java.lang.StringcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static IPHostEntry GetHostByAddress(IPAddress address) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, SocketException, IndexOutOfRangeException, FormatException
address - the argument of type IPAddressjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static IPHostEntry GetHostByAddress(java.lang.String address) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException
address - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic static IPHostEntry GetHostByName(java.lang.String hostName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException
hostName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic static IPHostEntry GetHostEntry(IPAddress address) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, FormatException, EventSourceException, SocketException, IndexOutOfRangeException
address - the argument of type IPAddressjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static IPHostEntry GetHostEntry(java.lang.String hostNameOrAddress) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException
hostNameOrAddress - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic static IPHostEntry GetHostEntry(java.lang.String hostNameOrAddress, AddressFamily family) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException
hostNameOrAddress - the argument of type java.lang.Stringfamily - the argument of type AddressFamilyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic static Task_1 GetHostEntryAsync(IPAddress address) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, FormatException, EventSourceException, SocketException, IndexOutOfRangeException, TaskSchedulerException
address - the argument of type IPAddressjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic static Task_1 GetHostEntryAsync(java.lang.String hostNameOrAddress) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException, TaskSchedulerException
hostNameOrAddress - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic static Task_1 GetHostEntryAsync(java.lang.String hostNameOrAddress, AddressFamily family, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException, ObjectDisposedException, RankException, ArrayTypeMismatchException, TaskSchedulerException, OperationCanceledException
hostNameOrAddress - the argument of type java.lang.Stringfamily - the argument of type AddressFamilycancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic static Task_1 GetHostEntryAsync(java.lang.String hostNameOrAddress, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException, TaskSchedulerException
hostNameOrAddress - the argument of type java.lang.StringcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic static java.lang.String GetHostName()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException,
EventSourceException,
SocketException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static IPHostEntry Resolve(java.lang.String hostName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException
hostName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying object