IMoniker.IsRunning(IBindCtx, IMoniker, IMoniker) Metodo

Definizione

Determina se l'oggetto identificato dal moniker corrente è attualmente caricato e in esecuzione.

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

Parametri

pbc
IBindCtx

Riferimento al contesto di associazione da utilizzare in questa operazione.

pmkToLeft
IMoniker

Riferimento al moniker alla sinistra del moniker corrente, se il moniker corrente fa parte di un composto.

pmkNewlyRunning
IMoniker

Riferimento al moniker aggiunto di recente alla tabella degli oggetti in esecuzione (ROT, Running Object Table).

Restituisce

Int32

Valore S_OKHRESULT se il moniker è in esecuzione, un valore S_FALSEHRESULT se il moniker non è in esecuzione, oppure un valore E_UNEXPECTEDHRESULT.

Commenti

Per altre informazioni, vedere Metodo IMoniker::IsRunning.

Si applica a