OSException constructeur (String)
Creates a new instance of the OSException class with a specified error message.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Replication (dans Microsoft.SqlServer.Replication.dll)
Syntaxe
'Déclaration
Public Sub New ( _
message As String _
)
'Utilisation
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
)
Paramètres
- message
Type : System. . :: . .String
A message that describes the error.
Notes
The following table shows the initial property values for an instance of OSException.
Property |
Value |
---|---|
A null reference (Nothing in Microsoft Visual Basic). |
|
The error message string. |