Share via


OciException Constructor (String)

Creates a new instance of the OciException class with a specified error message.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

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

Dim instance As New OciException(message)
public OciException(
    string message
)
public:
OciException(
    String^ message
)
new : 
        message:string -> OciException
public function OciException(
    message : String
)

Parameters

  • message
    Type: System.String
    A message that describes the error.

Remarks

The following table shows the initial property values for an instance of OciException.

Property

Value

InnerException

A null reference.

Message

The error message string.

See Also

Reference

OciException Class

OciException Overload

Microsoft.SqlServer.Replication Namespace