MissingObjectException 类
The MissingObjectException class is an exception that is raised when a specified object is missing.
继承层次结构
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Dmf.DmfException
Microsoft.SqlServer.Management.Dmf.MissingObjectException
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
<SerializableAttribute> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class MissingObjectException _
Inherits DmfException
用法
Dim instance As MissingObjectException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class MissingObjectException : DmfException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class MissingObjectException sealed : public DmfException
[<SealedAttribute>]
[<SerializableAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type MissingObjectException =
class
inherit DmfException
end
public final class MissingObjectException extends DmfException
MissingObjectException 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
MissingObjectException() | Initializes a new instance of the MissingObjectException class. | |
MissingObjectException(String) | Initializes a new instance of the MissingObjectException class that has the specified message text. | |
MissingObjectException(String, Exception) | Initializes a new instance of the MissingObjectException class that has the specified message text and inner exception. | |
MissingObjectException(String, String) | Initializes a new instance of the MissingObjectException class that has the specified received name and expected name. |
页首
属性
名称 | 说明 | |
---|---|---|
Data | (从 Exception 继承。) | |
DmfExceptionType | Gets the type of DMF exception. (覆盖 DmfException.DmfExceptionType。) | |
HelpLink | Gets the help link for the exception. (从 DmfException 继承。) | |
HResult | (从 Exception 继承。) | |
InnerException | (从 Exception 继承。) | |
Message | Gets the message associated with the exception. (覆盖 Exception.Message。) | |
ObjectName | Gets the name of the object that is missing. | |
ObjectType | Gets the type of object that is missing. | |
Source | (从 Exception 继承。) | |
StackTrace | (从 Exception 继承。) | |
TargetSite | (从 Exception 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
GetBaseException | (从 Exception 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetObjectData | Sets information required for serialization of the object. (覆盖 Exception.GetObjectData(SerializationInfo, StreamingContext)。) | |
GetType | (从 Exception 继承。) | |
SetHelpContext | Sets the help context for the exception. (从 DmfException 继承。) | |
ToString | (从 Exception 继承。) |
页首
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。
示例
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。