SfcObjectInitializationException 类

The exception that is thrown when an object fails to initialize. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

继承层次结构

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Sdk.Sfc.SfcException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectInitializationException

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
<SerializableAttribute> _
Public NotInheritable Class SfcObjectInitializationException _
    Inherits SfcException
用法
Dim instance As SfcObjectInitializationException
[SerializableAttribute]
public sealed class SfcObjectInitializationException : SfcException
[SerializableAttribute]
public ref class SfcObjectInitializationException sealed : public SfcException
[<SealedAttribute>]
[<SerializableAttribute>]
type SfcObjectInitializationException =  
    class 
        inherit SfcException 
    end
public final class SfcObjectInitializationException extends SfcException

SfcObjectInitializationException 类型公开以下成员。

构造函数

  名称 说明
公共方法 SfcObjectInitializationException() Initializes a new instance of the SfcObjectInitializationException class. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 SfcObjectInitializationException(String) Initializes a new instance of the SfcObjectInitializationException class with the specified key name and a reference to the inner exception that is the cause of this exception. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 SfcObjectInitializationException(String, Exception) Initializes a new instance of the SfcObjectInitializationException class with the specified key name and a reference to the inner exception that is the cause of this exception. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

页首

属性

  名称 说明
公共属性 Data (从 Exception 继承。)
公共属性 HelpLink Gets a link to the help file associated with this exception. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcException 继承。)
公共属性 HResult (从 Exception 继承。)
公共属性 InnerException (从 Exception 继承。)
公共属性 Message Gets the error message. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (覆盖 Exception.Message。)
公共属性 Source (从 Exception 继承。)
公共属性 StackTrace (从 Exception 继承。)
公共属性 TargetSite (从 Exception 继承。)

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
公共方法 GetBaseException (从 Exception 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetObjectData Sets the SerializationInfo object with information about the exception. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (覆盖 Exception.GetObjectData(SerializationInfo, StreamingContext)。)
公共方法 GetType (从 Exception 继承。)
受保护方法 SetHelpContext Sets the help context value for the referenced exception. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcException 继承。)
公共方法 ToString (从 Exception 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间