다음을 통해 공유


EventDefinition.GenerateMessage 메서드

정의

오버로드

GenerateMessage()

로깅하지 않고 기록될 메시지를 생성합니다. 일반적으로 오류로 경고 사례에서 예외를 throw하는 데 사용됩니다.

GenerateMessage(Exception)

로깅하지 않고 기록될 메시지를 생성합니다. 일반적으로 오류로 경고 사례에서 예외를 throw하는 데 사용됩니다.

GenerateMessage()

로깅하지 않고 기록될 메시지를 생성합니다. 일반적으로 오류로 경고 사례에서 예외를 throw하는 데 사용됩니다.

public virtual string GenerateMessage ();
abstract member GenerateMessage : unit -> string
override this.GenerateMessage : unit -> string
Public Overridable Function GenerateMessage () As String

반환

메시지 문자열입니다.

적용 대상

GenerateMessage(Exception)

로깅하지 않고 기록될 메시지를 생성합니다. 일반적으로 오류로 경고 사례에서 예외를 throw하는 데 사용됩니다.

public virtual string GenerateMessage (Exception exception = default);
abstract member GenerateMessage : Exception -> string
override this.GenerateMessage : Exception -> string
Public Overridable Function GenerateMessage (Optional exception As Exception = Nothing) As String

매개 변수

exception
Exception

이 이벤트와 관련된 선택적 예외입니다.

반환

메시지 문자열입니다.

적용 대상