UdpClient.Active Property
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.
Gets or sets a value indicating whether a default remote host has been established.
protected:
property bool Active { bool get(); void set(bool value); };
protected bool Active { get; set; }
member this.Active : bool with get, set
Protected Property Active As Boolean
Property Value
true
if a connection is active; otherwise, false
.
Remarks
Classes deriving from UdpClient can use this property to determine if a default remote host has been established. You can establish a default remote host by using the appropriate constructor or by calling the Connect method. If you do establish a default remote host, you cannot specify a remote host in your call to Send.
Applies to
See also
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za