ToastFailedEventArgs.ErrorCode Property

Definition

Gets the error code that was generated in the process of raising a toast notification.

public:
 property HResult ErrorCode { HResult get(); };
HResult ErrorCode();
public System.Exception ErrorCode { get; }
var hResult = toastFailedEventArgs.errorCode;
Public ReadOnly Property ErrorCode As Exception

Property Value

One of the standard system error codes.

Applies to

See also