Esempio n. 1
0
        public virtual void LogEvent(String type, String name, String status, String nameValuePairs)
        {
            IEvent evt0 = NewEvent(type, name);

            if (!string.IsNullOrEmpty(nameValuePairs))
            {
                evt0.AddData(nameValuePairs);
            }

            evt0.Status = status;
            evt0.Complete();
        }
Esempio n. 2
0
        public virtual void LogEvent(string type, string name, string status, string nameValuePairs)
        {
            IEvent @event = NewEvent(type, name);

            if (!string.IsNullOrEmpty(nameValuePairs))
            {
                @event.AddData(nameValuePairs);
            }

            @event.Status = status;
            @event.Complete();
        }
        public virtual void LogEvent(String type, String name, String status, String nameValuePairs, string messageTreeId)
        {
            IEvent evt0 = NewEvent(type, name, messageTreeId);

            if (!string.IsNullOrEmpty(nameValuePairs))
            {
                evt0.AddData(nameValuePairs);
            }

            evt0.Status = status;
            evt0.Complete(CallContextManager.MessageTreeId);
        }