Share via


Context.DoCallBack(CrossContextDelegate) Metodo

Definizione

Esegue il codice in un altro contesto.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 void DoCallBack(System::Runtime::Remoting::Contexts::CrossContextDelegate ^ deleg);
public void DoCallBack (System.Runtime.Remoting.Contexts.CrossContextDelegate deleg);
[System.Security.SecurityCritical]
public void DoCallBack (System.Runtime.Remoting.Contexts.CrossContextDelegate deleg);
member this.DoCallBack : System.Runtime.Remoting.Contexts.CrossContextDelegate -> unit
[<System.Security.SecurityCritical>]
member this.DoCallBack : System.Runtime.Remoting.Contexts.CrossContextDelegate -> unit
Public Sub DoCallBack (deleg As CrossContextDelegate)

Parametri

deleg
CrossContextDelegate

Delegato utilizzato per richiedere il callback.

Attributi

Commenti

È possibile eseguire un callback chiamando il DoCallBack metodo su di esso passando un delegato. Il delegato viene usato per richiedere un callback. Il delegato deve essere un CrossContextDelegate tipo di classe.

Si applica a