Contains information about when a driver registration fails
Наследование: System.EventArgs
Пример #1
0
 /// <summary>
 /// Raises the event for driver registration failure.
 /// </summary>
 /// <param name="e">A <see cref="DriverRegistrationFailedEventArgs"/> object describing
 /// the reason the driver registration failed.</param>
 protected void OnDriverRegistrationFailed(DriverRegistrationFailedEventArgs e)
 {
     if (this.DriverRegistrationFailed != null)
     {
         this.DriverRegistrationFailed(this, e);
     }
 }
Пример #2
0
        private void Instance_DriverRegistrationFailed(object sender, DriverRegistrationFailedEventArgs e)
        {
            string logMessage = string.Format(CultureInfo.InvariantCulture, "Could not register driver with type '{0}'.\nThe reason given was:\n{1}", e.DriverClass, e.Reason);

            this.ServerLogger.Log(logMessage, LogLevel.Error);
        }
Пример #3
0
 private void Instance_DriverRegistrationFailed(object sender, DriverRegistrationFailedEventArgs e)
 {
     string logMessage = string.Format(CultureInfo.InvariantCulture, "Could not register driver with type '{0}'.\nThe reason given was:\n{1}", e.DriverClass, e.Reason);
     this.ServerLogger.Log(logMessage, LogLevel.Error);
 }
Пример #4
0
 /// <summary>
 /// Raises the event for driver registration failure.
 /// </summary>
 /// <param name="e">A <see cref="DriverRegistrationFailedEventArgs"/> object describing
 /// the reason the driver registration failed.</param>
 protected void OnDriverRegistrationFailed(DriverRegistrationFailedEventArgs e)
 {
     if (this.DriverRegistrationFailed != null)
     {
         this.DriverRegistrationFailed(this, e);
     }
 }