using System;
#if WINDOWS_UWP
namespace ComputeSharp.Uwp;
#else
namespace ComputeSharp.WinUI;
#endif
///
/// The arguments for the and events.
///
public sealed class RenderingFailedEventArgs : EventArgs
{
///
/// Creates a new instance with the specified arguments.
///
/// The that caused the rendering to fail.
internal RenderingFailedEventArgs(Exception exception)
{
Exception = exception;
}
///
/// Gets the that caused the rendering to fail.
///
public Exception Exception { get; }
}