System.Net.Sockets.Socket.ThrowIfNotSupportsMultipleConnectAttempts C# (CSharp) Méthode

ThrowIfNotSupportsMultipleConnectAttempts() private static méthode

private static ThrowIfNotSupportsMultipleConnectAttempts ( ) : void
Résultat void
        private static void ThrowIfNotSupportsMultipleConnectAttempts()
        {
            if (!SocketPal.SupportsMultipleConnectAttempts)
            {
                throw new PlatformNotSupportedException(SR.net_sockets_connect_multiaddress_notsupported);
            }
        }