Exemplo n.º 1
0
        ///<summary>
        /// Asynchronous invoker for  'Azos.Sky.Contracts.IWebMessageSystem.UpdateMailboxMessagePublication'.
        /// This is a one-way call per contract specification, meaning - the server sends no acknowledgement of this call receipt and
        /// there is no result that server could return back to the caller.
        /// CallSlot is returned that can be queried for CallStatus, ResponseMsg.
        ///</summary>
        public CallSlot Async_UpdateMailboxMessagePublication(@Azos.@Sky.@WebMessaging.@MailboxMsgID @mid, @Azos.@Sky.@WebMessaging.@MsgPubStatus @status, @System.@String @oper, @System.@String @description)
        {
            var request = new @Azos.@Sky.@Contracts.@RequestMsg_IWebMessageSystem_UpdateMailboxMessagePublication(s_ts_CONTRACT, @s_ms_UpdateMailboxMessagePublication_4, true, RemoteInstance)
            {
                MethodArg_0_mid         = @mid,
                MethodArg_1_status      = @status,
                MethodArg_2_oper        = @oper,
                MethodArg_3_description = @description,
            };

            return(DispatchCall(request));
        }
Exemplo n.º 2
0
        ///<summary>
        /// Synchronous invoker for  'Azos.Sky.Contracts.IWebMessageSystem.UpdateMailboxMessagePublication'.
        /// This is a one-way call per contract specification, meaning - the server sends no acknowledgement of this call receipt and
        /// there is no result that server could return back to the caller.
        /// ClientCallException is thrown if the call could not be placed in the outgoing queue.
        ///</summary>
        public void @UpdateMailboxMessagePublication(@Azos.@Sky.@WebMessaging.@MailboxMsgID @mid, @Azos.@Sky.@WebMessaging.@MsgPubStatus @status, @System.@String @oper, @System.@String @description)
        {
            var call = Async_UpdateMailboxMessagePublication(@mid, @status, @oper, @description);

            if (call.CallStatus != CallStatus.Dispatched)
            {
                throw new ClientCallException(call.CallStatus, "Call failed: 'WebMessageSystem.UpdateMailboxMessagePublication'");
            }
        }