/// <summary>
        /// Sends a CancelPartNotification message to a store.
        /// </summary>
        /// <param name="requestUuid">The request UUID.</param>
        /// <returns>The message identifier.</returns>
        public long CancelPartNotification(Guid requestUuid)
        {
            var header = CreateMessageHeader(Protocols.GrowingObjectNotification, MessageTypes.GrowingObjectNotification.CancelPartNotification);

            var cancelNotification = new CancelPartNotification
            {
                RequestUuid = requestUuid.ToUuid()
            };

            return(Session.SendMessage(header, cancelNotification));
        }
コード例 #2
0
 /// <summary>
 /// Handles the CancelPartNotification message from a customer.
 /// </summary>
 /// <param name="header">The message header.</param>
 /// <param name="request">The CancelPartNotification message.</param>
 protected virtual void HandleCancelPartNotification(IMessageHeader header, CancelPartNotification request)
 {
     Notify(OnCancelPartNotification, header, request);
 }