SfcPropertyReadOnlyException 类

The exception that is thrown when trying to set a read-only property. 标识为仅供参考。不提供支持。不保证以后的兼容性。

继承层次结构

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

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

语法

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

SfcPropertyReadOnlyException 类型公开以下成员。

构造函数

  名称 说明
公共方法 SfcPropertyReadOnlyException() Initializes a new instance of the SfcPropertyReadOnlyException class. 标识为仅供参考。不提供支持。不保证以后的兼容性。
公共方法 SfcPropertyReadOnlyException(String) Initializes a new instance of the SfcPropertyReadOnlyException class using the specified property name. 标识为仅供参考。不提供支持。不保证以后的兼容性。

页首

属性

  名称 说明
公共属性 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. 标识为仅供参考。不提供支持。不保证以后的兼容性。 (覆盖 Exception.Message。)
公共属性 Source (从 Exception 继承。)
公共属性 StackTrace (从 Exception 继承。)
公共属性 TargetSite (从 Exception 继承。)

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
公共方法 GetBaseException (从 Exception 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetObjectData Sets the SerializationInfo object with information about the exception. 标识为仅供参考。不提供支持。不保证以后的兼容性。 (覆盖 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 命名空间