DtsTaskException 建構 (String)
This constructor is used when your custom task contains a string version of the exception.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Sub New ( _
message As String _
)
'用途
Dim message As String
Dim instance As New DtsTaskException(message)
public DtsTaskException(
string message
)
public:
DtsTaskException(
String^ message
)
new :
message:string -> DtsTaskException
public function DtsTaskException(
message : String
)
參數
- message
型別:System. . :: . .String
A string that contains the error condition.
備註
This constructor is used when your custom task throws an exception and you have a string description of the error condition.