Table of Contents

Class IIceObjectService.Response

Namespace
IceRpc.Slice.Ice
Assembly
IceRpc.Slice.dll

Provides static methods that encode return values into response payloads.

public static class IIceObjectService.Response
Inheritance
IIceObjectService.Response
Inherited Members

Remarks

The Slice compiler generated this static class from the Slice interface Ice::Object.

Methods

EncodeIceIds(IEnumerable<string>, SliceEncodeOptions?)

Encodes the return value of operation ice_ids into a response payload.

public static PipeReader EncodeIceIds(IEnumerable<string> returnValue, SliceEncodeOptions? encodeOptions = null)

Parameters

returnValue IEnumerable<string>

The operation return value.

encodeOptions SliceEncodeOptions

The Slice encode options.

Returns

PipeReader

A new response payload.

EncodeIceIsA(bool, SliceEncodeOptions?)

Encodes the return value of operation ice_isA into a response payload.

public static PipeReader EncodeIceIsA(bool returnValue, SliceEncodeOptions? encodeOptions = null)

Parameters

returnValue bool

The operation return value.

encodeOptions SliceEncodeOptions

The Slice encode options.

Returns

PipeReader

A new response payload.