public void DeleteContainer(CancellationToken context, ContainerID cid, CallOptions options = null) { var container_client = new ContainerService.ContainerServiceClient(channel); var opts = DefaultCallOptions.ApplyCustomOptions(options); var req = new DeleteRequest { Body = new DeleteRequest.Types.Body { ContainerId = cid, } }; req.Body.Signature = req.Body.SignMessagePart(key); req.MetaHeader = opts.GetRequestMetaHeader(); req.SignRequest(key); var resp = container_client.Delete(req, cancellationToken: context); if (!resp.VerifyResponse()) { throw new InvalidOperationException("invalid container put response"); } }