IMoniker.IsRunning(IBindCtx, IMoniker, IMoniker) Metoda

Definicja

Określa, czy obiekt, który jest identyfikowany przez bieżący moniker, jest obecnie ładowany i uruchomiony.

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

Parametry

pbc
IBindCtx

Odwołanie do kontekstu powiązania do użycia w tej operacji powiązania.

pmkToLeft
IMoniker

Odniesienie do pseudonimu po lewej stronie obecnego pseudonimu, jeśli obecny pseudonim jest częścią złożonego.

pmkNewlyRunning
IMoniker

Odwołanie do ostatnio dodanego pseudonimu do tabeli Running Object Table (ROT).

Zwraca

Wartość S_OKHRESULT , jeśli moniker jest uruchomiony; S_FALSEHRESULT wartość, jeśli moniker nie jest uruchomiony; lub E_UNEXPECTEDHRESULT wartość.

Uwagi

Aby uzyskać więcej informacji, zobacz IMoniker::IsRunning, metoda.

Dotyczy