ModelErrorCollection.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Add(Exception) |
Adds the specified |
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
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.