예제 #1
0
 /// <summary>
 /// Test returning `void`, with request methods and a method signature (flattening).
 /// </summary>
 /// <param name="name">
 /// </param>
 /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task VoidMethodAsync(ResourceName name, st::CancellationToken cancellationToken) =>
 VoidMethodAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
예제 #2
0
 /// <summary>
 /// Test returning `void`, with request methods and a method signature (flattening).
 /// </summary>
 /// <param name="name">
 /// </param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public virtual void VoidMethod(ResourceName name, gaxgrpc::CallSettings callSettings = null) =>
 VoidMethod(new Request {
     ResourceName = name,
 }, callSettings);
예제 #3
0
 /// <summary>
 /// Test returning `void`, with request methods and a method signature (flattening).
 /// </summary>
 /// <param name="name">
 /// </param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task VoidMethodAsync(ResourceName name, gaxgrpc::CallSettings callSettings = null) =>
 VoidMethodAsync(new Request {
     ResourceName = name,
 }, callSettings);