GraphicsContext.Assert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.