Share via


DataException Constructor (String) 

Initializes a new instance of the DataException class with a specified error message.

Namespace: Microsoft.VisualStudio.TeamSystem.Data.Common.Exceptions
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New DataException(message)
public DataException (
    string message
)
public:
DataException (
    String^ message
)
public DataException (
    String message
)
public function DataException (
    message : String
)

Parameters

  • message
    A message that describes the error.

See Also

Reference

DataException Class
DataException Members
Microsoft.VisualStudio.TeamSystem.Data.Common.Exceptions Namespace
Message