Partilhar via


Construtor OSException (String)

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

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

Sintaxe

'Declaração
Public Sub New ( _
    message As String _
)
'Uso
Dim message As String 

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

Parâmetros

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

Comentários

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

Property

Value

InnerException

A null reference (Nothing in Microsoft Visual Basic).

Message

The error message string.

Consulte também

Referência

OSException Classe

Sobrecarregado OSException

Namespace Microsoft.SqlServer.Replication