Esempio n. 1
0
 /// <summary>
 /// Raises the <see cref="SendingError" /> event.
 /// </summary>
 /// <param name="e">The <see cref="ErrorModelEventArgs" /> instance containing the event data.</param>
 protected void OnSendingError(ErrorModelEventArgs e)
 {
     if (SendingError != null)
     {
         SendingError(this, e);
     }
 }
Esempio n. 2
0
 static void Exceptionless_SendingError(object sender, ErrorModelEventArgs e)
 {
     e.Error.UserName = DiscoApplication.DeploymentId;
     e.Error.UserDescription = DiscoApplication.OrganisationName;
     
     e.Error.Tags.Add(string.Concat("v", DiscoApplication.Version));
 }
 /// <summary>
 /// Raises the <see cref="SendingError" /> event.
 /// </summary>
 /// <param name="e">The <see cref="ErrorModelEventArgs" /> instance containing the event data.</param>
 protected void OnSendingError(ErrorModelEventArgs e) {
     if (SendingError != null)
         SendingError(this, e);
 }
 private void OnSendingError(Error error) {
     var args = new ErrorModelEventArgs(error);
     OnSendingError(args);
 }
Esempio n. 5
0
        private void OnSendingError(Error error)
        {
            var args = new ErrorModelEventArgs(error);

            OnSendingError(args);
        }