Dispatcher.ValidatePriority(DispatcherPriority, String) Dispatcher.ValidatePriority(DispatcherPriority, String) Dispatcher.ValidatePriority(DispatcherPriority, String) Dispatcher.ValidatePriority(DispatcherPriority, String) Method

Definition

Determines whether the specified DispatcherPriority is a valid priority.

public:
 static void ValidatePriority(System::Windows::Threading::DispatcherPriority priority, System::String ^ parameterName);
public static void ValidatePriority (System.Windows.Threading.DispatcherPriority priority, string parameterName);
static member ValidatePriority : System.Windows.Threading.DispatcherPriority * string -> unit
Public Shared Sub ValidatePriority (priority As DispatcherPriority, parameterName As String)

Parameters

parameterName
String String String String

A string that will be returned by the exception that occurs if the priority is invalid.

Exceptions

Applies to