ExceptionMessageBox.SetButtonText 메서드

보호된 멤버 포함
상속된 멤버 포함

Sets the text for custom text buttons.

이 멤버는 오버로드됩니다. 구문, 사용법 및 예제를 포함하여 이 멤버에 대한 전체 정보를 확인하려면 오버로드 목록에서 이름을 클릭하십시오.

오버로드 목록

  이름 설명
공용 메서드 SetButtonText(String) Sets the text for the custom text button when only one button is displayed in the exception message box.
공용 메서드 SetButtonText(String, String) Sets the text for the custom text buttons when only two buttons are displayed in the exception message box.
공용 메서드 SetButtonText(String, String, String) Sets the text for the custom text buttons when only three buttons are displayed in the exception message box.
공용 메서드 SetButtonText(String, String, String, String) Sets the text for the custom text buttons when only four buttons are displayed in the exception message box.
공용 메서드 SetButtonText(String, String, String, String, String) Sets the text for the custom text buttons when only five buttons are displayed in the exception message box.

맨 위로 이동

주의

Custom text buttons are used when Buttons is set to Custom.

The number of button text strings provided determines the number of custom text buttons displayed. The buttons are displayed in the order in which the strings are specified.

After the message box has been dismissed, use CustomDialogResult to determine which button was clicked.

참고 항목

참조

ExceptionMessageBox 클래스

Microsoft.SqlServer.MessageBox 네임스페이스