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

Définition

Détermine si l'objet qui est identifié par le moniker en cours est actuellement chargé et en service.

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);
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 l'opération de liaison.

pmkToLeft
IMoniker

Référence au moniker à gauche du moniker en cours, si ce dernier fait partie d'un composite.

pmkNewlyRunning
IMoniker

Référence au dernier moniker ajouté à la table ROT (Running Object Table).

Retours

Valeur S_OKHRESULT si le moniker est en service ; valeur S_FALSEHRESULT si le moniker n’est pas en service ; ou valeur E_UNEXPECTEDHRESULT.

Remarques

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

S’applique à