Delegate ResponseDecodeFunc
- Namespace
- IceRpc.Ice.Operations
- Assembly
- IceRpc.Ice.dll
Represents a delegate that decodes the "void" return value from an Ice-encoded response.
public delegate ValueTask ResponseDecodeFunc(IncomingResponse response, OutgoingRequest request, IIceProxy sender, CancellationToken cancellationToken)
Parameters
responseIncomingResponseThe incoming response.
requestOutgoingRequestThe outgoing request.
senderIIceProxyThe proxy that sent the request.
cancellationTokenCancellationTokenA cancellation token that receives the cancellation requests.
Returns
- ValueTask
A value task that contains a IceException when the status code of the response is ApplicationError.