LocalSocketAddress Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LocalSocketAddress(String) |
Creates an instance with a given name in the |
LocalSocketAddress(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
LocalSocketAddress(String, LocalSocketAddress+Namespace) |
Creates an instance with a given name in the |
LocalSocketAddress(String)
Creates an instance with a given name in the Namespace#ABSTRACT
namespace
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public LocalSocketAddress (string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Net.LocalSocketAddress : string -> Android.Net.LocalSocketAddress
Parameters
- name
- String
non-null name
- Attributes
Remarks
Creates an instance with a given name in the Namespace#ABSTRACT
namespace
Java documentation for android.net.LocalSocketAddress.LocalSocketAddress(java.lang.String)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
LocalSocketAddress(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected LocalSocketAddress (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.LocalSocketAddress : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.LocalSocketAddress
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
LocalSocketAddress(String, LocalSocketAddress+Namespace)
Creates an instance with a given name in the Namespace#ABSTRACT
namespace
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/net/LocalSocketAddress$Namespace;)V", "")]
public LocalSocketAddress (string? name, Android.Net.LocalSocketAddress.Namespace? namespace);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/net/LocalSocketAddress$Namespace;)V", "")>]
new Android.Net.LocalSocketAddress : string * Android.Net.LocalSocketAddress.Namespace -> Android.Net.LocalSocketAddress
Parameters
- name
- String
non-null name
- namespace
- LocalSocketAddress.Namespace
- Attributes
Remarks
Java documentation for android.net.LocalSocketAddress.LocalSocketAddress(java.lang.String)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.