Method Leave NamespacePaintDotNet.Direct2D1 AssemblyPaintDotNet.Windows.dll Leave() Leaves the Direct2D API critical section, if it exists. void Leave()