Condividi tramite


GlobalBrokeredServiceContainer.OnRequestHandled Metodo

Definizione

Quando sottoposto a override da una classe derivata, fornisce un hook per generare eventi, post telemetria o registrare la modalità di gestione di ogni richiesta di servizio negoziata.

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)

Parametri

moniker
ServiceMoniker

Moniker per il servizio richiesto.

descriptor
ServiceRpcDescriptor

Descrittore associato alla richiesta, se disponibile.

type
GlobalBrokeredServiceContainer.RequestType

Natura della richiesta di servizio negoziata.

result
GlobalBrokeredServiceContainer.RequestResult

Indicatore del modo in cui è stata gestita la richiesta di servizio negoziata.

proffered
GlobalBrokeredServiceContainer.IProffered

Origine di proffering utilizzata durante l'attivazione del servizio.

Si applica a