NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MessageBox Members

Public:

Methods

Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the Object.
Show Overloaded. Displays a message box.
ToString (inherited from Object) Returns a String that represents the current Object.

Fields

AbortRetryIgnore Specifies that the message box contains Abort, Retry, and Ignore buttons. This field is constant.
DefaultButton1 Specifies that the first button on the message box should be the default button. This field is constant.
DefaultButton2 Specifies that the second button on the message box should be the default button. This field is constant.
DefaultButton3 Specifies that the third button on the message box should be the default button. This field is constant.
DefaultDesktopOnly Specifies that the message box is displayed on the active desktop. This field is constant.
IconAsterisk Specifies that the message box contains an asterisk symbol. This field is constant.
IconError Specifies that the message box contains a hand icon. This field is constant.
IconExclamation Specifies that the message box contains an exclamation symbol. This field is constant.
IconHand Specifies that the message box contains a hand symbol. This field is constant.
IconInformation Specifies that the message box contains an asterisk icon. This field is constant.
IconQuestion Specifies that the message box contains a question mark symbol. This field is constant.
IconStop Specifies that the message box contains a hand icon. This field is constant.
IconWarning Specifies that the message box contains an exclamation icon. This field is constant.
OK Specifies that the message box contains an OK button. This field is constant.
OKCancel Specifies that the message box contains OK and Cancel buttons. This field is constant.
RetryCancel Specifies that the message box contains Retry and Cancel buttons. This field is constant.
ServiceNotification Specifies that the message box is displayed on the active desktop. This field is constant.
YesNo Specifies that the message box contains Yes and No buttons. This field is constant.
YesNoCancel Specifies that the message box contains Yes, No, and Cancel buttons. This field is constant.

Protected:

Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

MessageBox Class | System.WinForms Namespace