InstanceContextIdleCallback Delegar

Definição

Representa o método que é chamado quando o processamento de um objeto InstanceContext é concluído.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)

Parâmetros

instanceContext
InstanceContext

O contexto de instância cujo processamento foi concluído.The instance context that has finished processing.

Comentários

Use um InstanceContextIdleCallback para notificar o tempo de execução do Windows Communication Foundation (WCF) que um InstanceContextIdleCallback objeto concluiu o processamento.Use an InstanceContextIdleCallback to notify the Windows Communication Foundation (WCF) runtime that an InstanceContextIdleCallback object has finished processing. Quando o InstanceContextIdleCallback objeto notifica o tempo de execução de que o InstanceContextIdleCallback concluiu seu trabalho, o WCF chama IInstanceContextProvider.IsIdle novamente uma vez.When the InstanceContextIdleCallback object notifies the runtime that the InstanceContextIdleCallback has finished its work, WCF calls IInstanceContextProvider.IsIdle once again. Esse ciclo continua até IInstanceContextProvider.IsIdle que true o retorne e o contexto seja fechado e reciclado.This cycle continues until IInstanceContextProvider.IsIdle returns true and the context is closed and recycled.

Para obter mais informações, consulte NotifyIdle.For more information, see NotifyIdle.

Métodos de Extensão

GetMethodInfo(Delegate)

Obtém um objeto que representa o método representado pelo delegado especificado.Gets an object that represents the method represented by the specified delegate.

Aplica-se a