Beispiel #1
0
        public void Start()
        {
            IntPtr sigbus  = Marshal.AllocHGlobal(512);
            IntPtr sigsegv = Marshal.AllocHGlobal(512);

            // Store Mono SIGSEGV and SIGBUS handlers
            sigaction(Signal.SIGBUS, IntPtr.Zero, sigbus);
            sigaction(Signal.SIGSEGV, IntPtr.Zero, sigsegv);

            MSAIApplicationInsights.Start();
            registerUnhandledExceptionHandler();
            sigaction(Signal.SIGBUS, sigbus, IntPtr.Zero);
            sigaction(Signal.SIGSEGV, sigsegv, IntPtr.Zero);
        }
 public void RenewSessionWithId(string sessionId)
 {
     MSAIApplicationInsights.RenewSessionWithId(sessionId);
 }
 public void SetSessionExpirationTime(int appBackgroundTime)
 {
     MSAIApplicationInsights.SetAppBackgroundTimeBeforeSessionExpires((nuint)appBackgroundTime);
 }
 public void StartNewSession()
 {
     MSAIApplicationInsights.StartNewSession();
 }
 public void SetAuthUserId(string authUserId)
 {
     MSAIApplicationInsights.SetUser(delegate(MSAIUser user) {
         user.SetAuthUserId(authUserId);
     });
 }
 public void SetAutoSessionManagementDisabled(bool autoSessionManagementDisabled)
 {
     MSAIApplicationInsights.SetAutoSessionManagementDisabled(autoSessionManagementDisabled);
 }
 public void SetAutoPageViewTrackingDisabled(bool autoPageViewTrackingDisabled)
 {
     MSAIApplicationInsights.SetAutoPageViewTrackingDisabled(autoPageViewTrackingDisabled);
 }
 public void SetTelemetryManagerDisabled(bool telemetryManagerDisabled)
 {
     MSAIApplicationInsights.SetTelemetryManagerDisabled(telemetryManagerDisabled);
 }
 public void Start()
 {
     MSAIApplicationInsights.Start();
 }
 public void Setup(string instrumentationKey)
 {
     MSAIApplicationInsights.Setup(instrumentationKey);
 }
Beispiel #11
0
 public void SetUserId(string userId)
 {
     MSAIApplicationInsights.SetUserId(userId);
 }
Beispiel #12
0
 public void  SetCrashManagerDisabled(bool crashManagerDisabled)
 {
     _crashManagerDisabled = crashManagerDisabled;
     MSAIApplicationInsights.SetCrashManagerDisabled(crashManagerDisabled);
 }
Beispiel #13
0
 public void Setup(string instrumentationKey)
 {
     MSAIApplicationInsights.Setup(instrumentationKey);
     MSAIApplicationInsights.SetAutoSessionManagementDisabled(false);
 }