ODataErrorException Constructor (String)
Creates a new instance of the ODataErrorException class with an error message.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
'Usage
Dim message As String
Dim instance As New ODataErrorException(message)
public ODataErrorException(
string message
)
public:
ODataErrorException(
String^ message
)
new :
message:string -> ODataErrorException
public function ODataErrorException(
message : String
)
Parameters
- message
Type: System.String
The plain text error message for this exception.
Remarks
The Error property will be initialized with an empty ODataError instance.