In This Article

MessageBoxResult Enum

Defines a response from interacting with MessageBox or UserPromptControl.

public enum MessageBoxResult

Fields

Name Description
Abort

The 'Abort' button was invoked.

Cancel

The 'Cancel' button was invoked.

Close

The 'Close' button was invoked.

CustomButton

A custom button was invoked.

Help

The 'Help' button was invoked.

Ignore

The 'Ignore' button was invoked.

No

The 'No' button was invoked.

None

No result.

OK

The 'OK' button was invoked.

Retry

The 'Retry' button was invoked.

Yes

The 'Yes' button was invoked.

Extension Methods