Compartir a través de


GlobalBrokeredServiceContainer.OnRequestHandled Método

Definición

Cuando se invalida mediante una clase derivada, proporciona un enlace para generar eventos, publicar telemetría o registrar cómo se controló cada solicitud de servicio asincrónica.

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

El moniker para el servicio solicitado.

descriptor
ServiceRpcDescriptor

Descriptor asociado a la solicitud, si está disponible.

type
GlobalBrokeredServiceContainer.RequestType

La naturaleza de la solicitud de servicio asincrónica.

result
GlobalBrokeredServiceContainer.RequestResult

Indicador de cómo se controló la solicitud de servicio asincrónica.

proffered
GlobalBrokeredServiceContainer.IProffered

Origen de proffering que se usó al activar el servicio.

Se aplica a