Mindscape.Raygun4Net.RaygunClient.SendPulseSessionEvent C# (CSharp) 메소드

SendPulseSessionEvent() 개인적인 메소드

Sends a Pulse session event to Raygun. The message is sent on a background thread.
private SendPulseSessionEvent ( RaygunPulseSessionEventType eventType ) : void
eventType RaygunPulseSessionEventType The type of session event that occurred.
리턴 void
        internal void SendPulseSessionEvent(RaygunPulseSessionEventType eventType)
        {
            if (eventType == RaygunPulseSessionEventType.SessionStart)
              {
            _sessionId = Guid.NewGuid().ToString();
              }
              ThreadPool.QueueUserWorkItem(c => SendPulseSessionEventCore(eventType));
        }

Usage Example

예제 #1
0
파일: Pulse.cs 프로젝트: pjhuck/raygun4net
 private static void OnDidBecomeActive(NSNotification notification)
 {
     //Console.WriteLine("SESSION START");
     _raygunClient.SendPulseSessionEvent(RaygunPulseSessionEventType.SessionStart);
     if (_lastViewName != null)
     {
         _raygunClient.SendPulseTimingEvent(RaygunPulseEventType.ViewLoaded, _lastViewName, 0);
     }
 }
All Usage Examples Of Mindscape.Raygun4Net.RaygunClient::SendPulseSessionEvent