InstanceContextIdleCallback InstanceContextIdleCallback InstanceContextIdleCallback InstanceContextIdleCallback Delegate

Definizione

Rappresenta il metodo chiamato quando un oggetto InstanceContext ha completato l'elaborazione.Represents the method that is called when an InstanceContext object has finished processing.

public delegate void InstanceContextIdleCallback(InstanceContext ^ instanceContext);
public delegate void InstanceContextIdleCallback(InstanceContext instanceContext);
type InstanceContextIdleCallback = delegate of InstanceContext -> unit
Public Delegate Sub InstanceContextIdleCallback(instanceContext As InstanceContext)

Parametri

instanceContext
InstanceContext InstanceContext InstanceContext InstanceContext

Il contesto dell'istanza che ha completato l'elaborazione.The instance context that has finished processing.

Ereditarietà
InstanceContextIdleCallbackInstanceContextIdleCallbackInstanceContextIdleCallbackInstanceContextIdleCallback

Commenti

Utilizzare un InstanceContextIdleCallback per notificare al runtime Windows Communication Foundation (WCF) che InstanceContextIdleCallback un oggetto ha terminato l'elaborazione.Use an InstanceContextIdleCallback to notify the Windows Communication Foundation (WCF) runtime that an InstanceContextIdleCallback object has finished processing. Quando l' InstanceContextIdleCallback oggetto notifica al runtime che ha terminato InstanceContextIdleCallback il lavoro, WCF chiama IInstanceContextProvider.IsIdle di nuovo.When the InstanceContextIdleCallback object notifies the runtime that the InstanceContextIdleCallback has finished its work, WCF calls IInstanceContextProvider.IsIdle once again. Questo ciclo continua fino a che IInstanceContextProvider.IsIdle restituisce true e il contesto viene chiuso e riciclato.This cycle continues until IInstanceContextProvider.IsIdle returns true and the context is closed and recycled.

Per ulteriori informazioni, vedere NotifyIdle.For more information, see NotifyIdle.

Metodi di estensione

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

Ottiene un oggetto che rappresenta il metodo rappresentato dal delegato specificato.Gets an object that represents the method represented by the specified delegate.

Si applica a