よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public void StartDuplexStreaming(ReceivedStatusOnClientHandler callback, MetadataArraySafeHandle metadataArray) { using (completionQueue.NewScope()) { var ctx = BatchContextSafeHandle.Create(); completionRegistry.RegisterBatchCompletion(ctx, (success, context) => callback(success, context.GetReceivedStatusOnClient())); pinvoke.grpcsharp_call_start_duplex_streaming(this, ctx, metadataArray).CheckOk(); } }