Handle.ThrowIfUninitialized 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.
Throws an InvalidOperationException if the Handle has not been initialized.
protected:
void ThrowIfUninitialized();
protected void ThrowIfUninitialized ();
member this.ThrowIfUninitialized : unit -> unit
Protected Sub ThrowIfUninitialized ()
Remarks
ThrowIfUninitialized gives custom handle derived class authors a convenient method to call from any methods or properties of the derived class that are not valid if the Handle is uninitialized.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.