///<summary> /// Asynchronous invoker for 'Azos.Sky.Contracts.IGDIDPersistenceRemoteLocation.Read'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning no exception or WrappedExceptionData instance. /// CallSlot is returned that can be queried for CallStatus, ResponseMsg and result. ///</summary> public CallSlot Async_Read(@System.@Byte @authority, @System.@String @sequenceName, @System.@String @scopeName) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_Read_0, false, RemoteInstance, new object[] { @authority, @sequenceName, @scopeName }); return(DispatchCall(request)); }
///<summary> /// Synchronous invoker for 'Azos.Sky.Contracts.IGDIDPersistenceRemoteLocation.Read'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@Nullable[@Azos.@Data.@GDID]' or WrappedExceptionData instance. /// ClientCallException is thrown if the call could not be placed in the outgoing queue. /// RemoteException is thrown if the server generated exception during method execution. ///</summary> public @System.@Nullable <@Azos.@Data.@GDID> @Read(@System.@Byte @authority, @System.@String @sequenceName, @System.@String @scopeName) { var call = Async_Read(@authority, @sequenceName, @scopeName); return(call.GetValue <@System.@Nullable <@Azos.@Data.@GDID> >()); }