Delen via


ModelErrorCollection.Add Method

Definition

Overloads

Add(Exception)

Adds the specified exception instance.

Add(String)

Adds the specified error message.

Add(Exception)

Source:
ModelErrorCollection.cs
Source:
ModelErrorCollection.cs
Source:
ModelErrorCollection.cs

Adds the specified exception instance.

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

Parameters

exception
Exception

The Exception

Applies to

Add(String)

Source:
ModelErrorCollection.cs
Source:
ModelErrorCollection.cs
Source:
ModelErrorCollection.cs

Adds the specified error message.

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

Parameters

errorMessage
String

The error message.

Applies to