public static async Task StopConnectionAsync() { try { _connection.StopConnectionAsync().Wait(); } catch { } }
public static async Task StopConnectionAsync() { await _connection.StopConnectionAsync(); }
public static async Task StopConnectionAsync() { try { _connection.StopConnectionAsync().Wait(); } catch { } }
public static async Task StopConnectionAsync() { await _connection.StopConnectionAsync(); }