DkmExceptionCodeTrigger.Create Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Create(DkmExceptionProcessingStage, DkmThread, Guid, UInt32) |
Créez une instance de l’objet DkmExceptionCodeTrigger. |
| Create(DkmExceptionProcessingStage, DkmThread, ReadOnlyCollection<DkmExceptionConditionInfo>, Guid, UInt32) |
Créez une instance de l’objet DkmExceptionCodeTrigger.
|
Create(DkmExceptionProcessingStage, DkmThread, Guid, UInt32)
Créez une instance de l’objet DkmExceptionCodeTrigger.
public:
static Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionCodeTrigger ^ Create(Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionProcessingStage ProcessingStage, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Guid ExceptionCategory, System::UInt32 Code);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionCodeTrigger Create (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, Microsoft.VisualStudio.Debugger.DkmThread Thread, Guid ExceptionCategory, uint Code);
static member Create : Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage * Microsoft.VisualStudio.Debugger.DkmThread * Guid * uint32 -> Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionCodeTrigger
Public Shared Function Create (ProcessingStage As DkmExceptionProcessingStage, Thread As DkmThread, ExceptionCategory As Guid, Code As UInteger) As DkmExceptionCodeTrigger
Paramètres
- ProcessingStage
- DkmExceptionProcessingStage
Dans Le débogueur reçoit les notifications du processus cible à différentes étapes au sein du traitement des exceptions (par exemple, exception levée, exception non gérée). Cette énumération est un masque de bits pour lequel le déclencheur doit se déclencher.
- Thread
- DkmThread
[In, facultatif] Thread sur lequel ce déclencheur s’applique. Si la valeur est null, le déclencheur est examiné pour tous les threads.
- ExceptionCategory
- Guid
Dans Indique le type d’exception.
- Code
- UInt32
[In] Code d’entier 32 bits pour l’exception. Pour les exceptions Win32, il s’agit du code passé à RaiseException (ex : EXCEPTION_ACCESS_VIOLATION). Cette valeur est zéro pour les catégories d’exception qui identifient les exceptions par chaîne (par exemple, CLR).
Retours
À Résultat de cet appel de méthode.
S’applique à
Create(DkmExceptionProcessingStage, DkmThread, ReadOnlyCollection<DkmExceptionConditionInfo>, Guid, UInt32)
Créez une instance de l’objet DkmExceptionCodeTrigger.
Cette API a été introduite dans Visual Studio 15 RTM (DkmApiVersion. VS15RTM).
public:
static Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionCodeTrigger ^ Create(Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionProcessingStage ProcessingStage, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionConditionInfo ^> ^ ExceptionConditionInfo, Guid ExceptionCategory, System::UInt32 Code);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionCodeTrigger Create (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, Microsoft.VisualStudio.Debugger.DkmThread Thread, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionConditionInfo> ExceptionConditionInfo, Guid ExceptionCategory, uint Code);
static member Create : Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage * Microsoft.VisualStudio.Debugger.DkmThread * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionConditionInfo> * Guid * uint32 -> Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionCodeTrigger
Public Shared Function Create (ProcessingStage As DkmExceptionProcessingStage, Thread As DkmThread, ExceptionConditionInfo As ReadOnlyCollection(Of DkmExceptionConditionInfo), ExceptionCategory As Guid, Code As UInteger) As DkmExceptionCodeTrigger
Paramètres
- ProcessingStage
- DkmExceptionProcessingStage
Dans Le débogueur reçoit les notifications du processus cible à différentes étapes au sein du traitement des exceptions (par exemple, exception levée, exception non gérée). Cette énumération est un masque de bits pour lequel le déclencheur doit se déclencher.
- Thread
- DkmThread
[In, facultatif] Thread sur lequel ce déclencheur s’applique. Si la valeur est null, le déclencheur est examiné pour tous les threads.
- ExceptionConditionInfo
- ReadOnlyCollection<DkmExceptionConditionInfo>
[In, facultatif] Informations sur les conditions d’exception.
- ExceptionCategory
- Guid
Dans Indique le type d’exception.
- Code
- UInt32
[In] Code d’entier 32 bits pour l’exception. Pour les exceptions Win32, il s’agit du code passé à RaiseException (ex : EXCEPTION_ACCESS_VIOLATION). Cette valeur est zéro pour les catégories d’exception qui identifient les exceptions par chaîne (par exemple, CLR).
Retours
À Résultat de cet appel de méthode.