Edytuj

Udostępnij za pośrednictwem


GraphicsContext.Assert Method

Definition

Checks if a GraphicsContext exists in the calling thread and throws a GraphicsContextMissingException if it doesn't.

public static void Assert ();
static member Assert : unit -> unit

Exceptions

Generated when no GraphicsContext is current in the calling thread.

Applies to