Socket.SafeHandle 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 a SafeSocketHandle that represents the socket handle that the current Socket object encapsulates.
public:
property System::Net::Sockets::SafeSocketHandle ^ SafeHandle { System::Net::Sockets::SafeSocketHandle ^ get(); };
public System.Net.Sockets.SafeSocketHandle SafeHandle { get; }
member this.SafeHandle : System.Net.Sockets.SafeSocketHandle
Public ReadOnly Property SafeHandle As SafeSocketHandle
Property Value
A socket handle exposed in a safe manner for the socket that the current Socket object encapsulates.
Remarks
Important
Using the SafeSocketHandle to operate on the socket directly may result in an undocumented state.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.