void session_MessageResendingEvent(object sender, MessageResendingEventArgs e) { eventView.LogInfo("Resend request for message " + e.Msg); e.AllowResending = !IsStale(e.Msg); eventView.LogInfo("AllowResending=" + e.AllowResending); }
void initiator_MessageResending(object sender, MessageResendingEventArgs e) { e.AllowResending = true; }
private void session_MessageResending(object sender, MessageResendingEventArgs e) { eventView.LogInfo(string.Format(CultureInfo.InvariantCulture, "Resend request for message {0}", e.Msg)); Trace.TraceInformation(string.Format(CultureInfo.InvariantCulture, "Resend request for message {0}", e.Msg)); e.AllowResending = true; }