共用方式為


FunctionNotASmoObjectException 建構 (String, String)

Initializes a new instance of the ExceptionAlreadyRegisteredException class that has the specified function and object type.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Sub New ( _
    functionName As String, _
    targetType As String _
)
'用途
Dim functionName As String
Dim targetType As String

Dim instance As New FunctionNotASmoObjectException(functionName, _
    targetType)
public FunctionNotASmoObjectException(
    string functionName,
    string targetType
)
public:
FunctionNotASmoObjectException(
    String^ functionName, 
    String^ targetType
)
new : 
        functionName:string * 
        targetType:string -> FunctionNotASmoObjectException
public function FunctionNotASmoObjectException(
    functionName : String, 
    targetType : String
)

參數

  • functionName
    型別:System. . :: . .String
    A String value that specifies the name of the function that is associated with the exception.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。