ExceptionSet 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ExceptionSet 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| ExceptionSet() |
初始化一個新的類別實例 ExceptionSet ,使用預設屬性值。 |
| ExceptionSet(IEnumerable<Exception>) |
初始化類別的新實例 ExceptionSet ,並符合指定的例外。 |
ExceptionSet()
初始化一個新的類別實例 ExceptionSet ,使用預設屬性值。
public:
ExceptionSet();
public ExceptionSet();
Public Sub New ()
適用於
ExceptionSet(IEnumerable<Exception>)
初始化類別的新實例 ExceptionSet ,並符合指定的例外。
public:
ExceptionSet(System::Collections::Generic::IEnumerable<Exception ^> ^ exceptions);
public ExceptionSet(System.Collections.Generic.IEnumerable<Exception> exceptions);
new Microsoft.SqlServer.Management.Data.ExceptionSet : seq<Exception> -> Microsoft.SqlServer.Management.Data.ExceptionSet
Public Sub New (exceptions As IEnumerable(Of Exception))
參數
- exceptions
- IEnumerable<Exception>
應用程式執行時發生的錯誤。