TypeConversionException 類別
The TypeConversionException class is an exception that is raised when a type conversion error occurs.
繼承階層
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Dmf. . :: . .DmfException
Microsoft.SqlServer.Management.Dmf..::..TypeConversionException
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
<SerializableAttribute> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class TypeConversionException _
Inherits DmfException
'用途
Dim instance As TypeConversionException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class TypeConversionException : DmfException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class TypeConversionException sealed : public DmfException
[<SealedAttribute>]
[<SerializableAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type TypeConversionException =
class
inherit DmfException
end
public final class TypeConversionException extends DmfException
TypeConversionException 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
TypeConversionException() () () () | Initializes a new instance of the Dmf. | |
TypeConversionException(String) | Initializes a new instance of the TypeConversionException class that has the specified message text. | |
TypeConversionException(String, Exception) | Initializes a new instance of the TypeConversionException class that has the specified message text and inner exception. | |
TypeConversionException(String, String, Exception) | Initializes a new instance of the TypeConversionException class that has the specified input string, type and inner exception. |
上層
屬性
名稱 | 說明 | |
---|---|---|
Data | (繼承自 Exception。) | |
DmfExceptionType | Gets the type of DMF exception. (覆寫 DmfException. . :: . .DmfExceptionType。) | |
HelpLink | Gets the help link for the exception. (繼承自 DmfException。) | |
HResult | (繼承自 Exception。) | |
InnerException | (繼承自 Exception。) | |
InputString | Gets the input string that caused the type conversion error. | |
Message | Gets the message associated with the exception. (覆寫 Exception. . :: . .Message。) | |
Source | (繼承自 Exception。) | |
StackTrace | (繼承自 Exception。) | |
TargetSite | (繼承自 Exception。) | |
TypeName | Gets the type that caused the conversion error. |
上層
方法
名稱 | 說明 | |
---|---|---|
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetBaseException | (繼承自 Exception。) | |
GetHashCode | (繼承自 Object。) | |
GetObjectData | Sets information required for serialization of the object. (覆寫 Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext)。) | |
GetType | (繼承自 Exception。) | |
Init | Initializes the properties of a DmfException object. (繼承自 DmfException。) | |
MemberwiseClone | (繼承自 Object。) | |
SetHelpContext | Sets the help context for the exception. (繼承自 DmfException。) | |
ToString | (繼承自 Exception。) |
上層
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。
Thread Safety
此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。不保證所有執行個體成員都是安全執行緒。
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。