CloseWalletAsync() public méthode

public CloseWalletAsync ( global request, Grpc.Core.CallOptions options ) : AsyncUnaryCall
request global
options Grpc.Core.CallOptions
Résultat AsyncUnaryCall
Exemple #1
0
 public async Task CloseWallet()
 {
     try
     {
         var client = new WalletLoaderService.WalletLoaderServiceClient(_channel);
         await client.CloseWalletAsync(new CloseWalletRequest());
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex);
     }
 }