This constructor is used when your custom task contains a string version of the exception.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
語法
'宣告
Public Sub New ( _
message As String _
)
public DtsTaskException (
string message
)
public:
DtsTaskException (
String^ message
)
public DtsTaskException (
String message
)
public function DtsTaskException (
message : String
)
參數
- message
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.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
DtsTaskException Class
DtsTaskException Members
Microsoft.SqlServer.Dts.Runtime Namespace