Creates a new instance of the OSException class with a specified error message.
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)
语法
声明
Public Sub New ( _
message As String _
)
用法
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
)
参数
- message
类型:System.String
A message that describes the error.
注释
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. |