다음을 통해 공유


ModelErrorCollection.Add 메서드

정의

오버로드

Add(Exception)

지정된 exception instance 추가합니다.

Add(String)

지정된 오류 메시지를 추가합니다.

Add(Exception)

Source:
ModelErrorCollection.cs
Source:
ModelErrorCollection.cs

지정된 exception instance 추가합니다.

public:
 void Add(Exception ^ exception);
public void Add (Exception exception);
override this.Add : Exception -> unit
Public Sub Add (exception As Exception)

매개 변수

exception
Exception

Exception입니다.

적용 대상

Add(String)

Source:
ModelErrorCollection.cs
Source:
ModelErrorCollection.cs

지정된 오류 메시지를 추가합니다.

public:
 void Add(System::String ^ errorMessage);
public void Add (string errorMessage);
override this.Add : string -> unit
Public Sub Add (errorMessage As String)

매개 변수

errorMessage
String

오류 메시지입니다.

적용 대상