GlobalBrokeredServiceContainer.OnRequestHandled Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden by a derived class, provides a hook to raise events, post telemetry, or log how each brokered service request was handled.
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)
Parameters
- moniker
- ServiceMoniker
The moniker for the requested service.
- descriptor
- ServiceRpcDescriptor
The descriptor associated with the request, if available.
The nature of the brokered service request.
An indicator as to how the brokered service request was handled.
The proffering source that was used when activating the service.