Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new instance of the DeviceDetectionException event arguments.
 /// </summary>
 /// <param name="exception">The exception.</param>
 public DeviceDetectionExceptionEventArgs(DeviceDetectionException exception)
 {
     _exception = exception;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Called when [device detection attempt failed].
 /// </summary>
 /// <param name="exception">The exception.</param>
 internal static void OnDeviceDetectionAttemptFailed(DeviceDetectionException exception)
 {
     if (DeviceDetectionAttemptFailed != null)
         DeviceDetectionAttemptFailed(exception.Device, new DeviceDetectionExceptionEventArgs(exception));
 }