Udostępnij przez


Konstruktor SqlTraceFailToLoadInstAPIAssemblyException (Type, String)

Inicjuje nowe wystąpienie SQLTraceFailToLoadInstAPIAssemblyException klasy z źródło określonej wiadomości i wiadomości.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Trace
Zestaw:  Microsoft.SqlServer.ConnectionInfoExtended (w Microsoft.SqlServer.ConnectionInfoExtended.dll)

Składnia

'Deklaracja
Public Sub New ( _
    messageSource As Type, _
    messageID As String _
)
'Użycie
Dim messageSource As Type
Dim messageID As String

Dim instance As New SqlTraceFailToLoadInstAPIAssemblyException(messageSource, _
    messageID)
public SqlTraceFailToLoadInstAPIAssemblyException(
    Type messageSource,
    string messageID
)
public:
SqlTraceFailToLoadInstAPIAssemblyException(
    Type^ messageSource, 
    String^ messageID
)
new : 
        messageSource:Type * 
        messageID:string -> SqlTraceFailToLoadInstAPIAssemblyException
public function SqlTraceFailToLoadInstAPIAssemblyException(
    messageSource : Type, 
    messageID : String
)

Parametry

  • messageSource
    Typ: System.Type
    A Type wartość obiektu systemu, który określa źródło wiadomości.
  • messageID
    Typ: System.String
    A String wartość określająca wiadomości skojarzonych z ogólne SQL śledzenia nie obciążenia Inst API zestawu wyjątek.