Partilhar via


GlobalBrokeredServiceContainer.OnRequestHandled Método

Definição

Quando substituído por uma classe derivada, fornece um gancho para gerar eventos, pós-telemetria ou registrar como cada solicitação de serviço agenciada foi tratada.

protected virtual void OnRequestHandled (Microsoft.ServiceHub.Framework.ServiceMoniker moniker, Microsoft.ServiceHub.Framework.ServiceRpcDescriptor? descriptor, Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.RequestType type, Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.RequestResult result, Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.IProffered? proffered);
abstract member OnRequestHandled : Microsoft.ServiceHub.Framework.ServiceMoniker * Microsoft.ServiceHub.Framework.ServiceRpcDescriptor * Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.RequestType * Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.RequestResult * Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.IProffered -> unit
override this.OnRequestHandled : Microsoft.ServiceHub.Framework.ServiceMoniker * Microsoft.ServiceHub.Framework.ServiceRpcDescriptor * Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.RequestType * Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.RequestResult * Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.IProffered -> unit
Protected Overridable Sub OnRequestHandled (moniker As ServiceMoniker, descriptor As ServiceRpcDescriptor, type As GlobalBrokeredServiceContainer.RequestType, result As GlobalBrokeredServiceContainer.RequestResult, proffered As GlobalBrokeredServiceContainer.IProffered)

Parâmetros

moniker
ServiceMoniker

O moniker para o serviço solicitado.

descriptor
ServiceRpcDescriptor

O descritor associado à solicitação, se disponível.

type
GlobalBrokeredServiceContainer.RequestType

A natureza da solicitação de serviço agenciada.

result
GlobalBrokeredServiceContainer.RequestResult

Um indicador de como a solicitação de serviço agenciada foi tratada.

proffered
GlobalBrokeredServiceContainer.IProffered

A fonte de oferta que foi usada ao ativar o serviço.

Aplica-se a