IMoniker.IsRunning(IBindCtx, IMoniker, IMoniker) Méthode

Définition

Détermine si l’objet identifié par le moniker actuel est actuellement chargé et en cours d’exécution.

public:
 int IsRunning(System::Runtime::InteropServices::ComTypes::IBindCtx ^ pbc, System::Runtime::InteropServices::ComTypes::IMoniker ^ pmkToLeft, System::Runtime::InteropServices::ComTypes::IMoniker ^ pmkNewlyRunning);
public int IsRunning(System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker pmkToLeft, System.Runtime.InteropServices.ComTypes.IMoniker pmkNewlyRunning);
abstract member IsRunning : System.Runtime.InteropServices.ComTypes.IBindCtx * System.Runtime.InteropServices.ComTypes.IMoniker * System.Runtime.InteropServices.ComTypes.IMoniker -> int
Public Function IsRunning (pbc As IBindCtx, pmkToLeft As IMoniker, pmkNewlyRunning As IMoniker) As Integer

Paramètres

pbc
IBindCtx

Référence au contexte de liaison à utiliser dans cette opération de liaison.

pmkToLeft
IMoniker

Référence au moniker à gauche du moniker actuel si le moniker actuel fait partie d’un composite.

pmkNewlyRunning
IMoniker

Référence au moniker le plus récemment ajouté à la table d’objets en cours d’exécution (ROT).

Retours

Valeur S_OKHRESULT si le moniker est en cours d’exécution ; valeur S_FALSEHRESULT si le moniker n’est pas en cours d’exécution ; ou valeur E_UNEXPECTEDHRESULT .

Remarques

Pour plus d’informations, consultez la méthode IMoniker ::IsRunning.

S’applique à