Interface IIceObject
Base interface with common operations.
public interface IIceObject
Remarks
Use the methods of this interface to invoke operations on a remote Ice service that implements Object.
The Ice compiler generated this client-side interface from Ice interface ::Ice::Object.
Methods
IceIdsAsync(IFeatureCollection?, CancellationToken)
Gets the Ice type IDs of all the interfaces implemented by the target service.
Task<string[]> IceIdsAsync(IFeatureCollection? features = null, CancellationToken cancellationToken = default)
Parameters
featuresIFeatureCollectionThe features of this invocation.
cancellationTokenCancellationTokenA cancellation token that receives the cancellation requests.
Returns
Exceptions
- DispatchException
Thrown when the dispatch of the operation failed. This exception is provided through the returned task; it's never thrown synchronously.
IceIsAAsync(string, IFeatureCollection?, CancellationToken)
Tests whether the target service implements the specified interface.
Task<bool> IceIsAAsync(string id, IFeatureCollection? features = null, CancellationToken cancellationToken = default)
Parameters
idstringThe Ice type ID of the interface to test against.
featuresIFeatureCollectionThe features of this invocation.
cancellationTokenCancellationTokenA cancellation token that receives the cancellation requests.
Returns
Exceptions
- DispatchException
Thrown when the dispatch of the operation failed. This exception is provided through the returned task; it's never thrown synchronously.
IcePingAsync(IFeatureCollection?, CancellationToken)
Pings the service.
Task IcePingAsync(IFeatureCollection? features = null, CancellationToken cancellationToken = default)
Parameters
featuresIFeatureCollectionThe features of this invocation.
cancellationTokenCancellationTokenA cancellation token that receives the cancellation requests.
Returns
- Task
A task that completes when the response is received.
Exceptions
- DispatchException
Thrown when the dispatch of the operation failed. This exception is provided through the returned task; it's never thrown synchronously.