Last Update: 9/26/2016

Defined in vss.d.ts

Represents a button used in IHostDialogService.openMessageDialog().


  • id: string. Used as HTML ID of the button.

  • text: string. Text to display on the button.

  • reject: boolean. Optional. When true, the dialog's promise is rejected instead of resolved when this button is clicked.

  • style: string. Optional. Specifies how the button should look. Possible values: (undefined) - Default "warning" - Red