Response<T> Class
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.
public class Response<T> : Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.Response
type Response<'T> = class
inherit Response
Public Class Response(Of T)
Inherits Response
Type Parameters
- T
- Inheritance
Constructors
Response<T>(Func<T>) | |
Response<T>(Func<Task<T>>) | |
Response<T>(T) |
Fields
Cancel |
Cancellation method for this event. If the event consumer wishes to cancel the request that initiated this event, call |
ExtendedData |
Any extended data for an event should be serialized and stored here. (Inherited from EventData) |
Id |
The type of the event being signaled (Inherited from EventData) |
Message |
The user-ready message from the event. (Inherited from EventData) |
Parameter |
When the event is about a parameter, this is the parameter name. Used in Validation Events (Inherited from EventData) |
RequestMessage |
If the event triggers after the request message has been created, this will contain the Request Message (which in HTTP calls would be HttpRequestMessage) Typically you'd cast this to the expected type to use it:
(Inherited from EventData)
|
ResponseMessage |
If the event triggers after the response is back, this will contain the Response Message (which in HTTP calls would be HttpResponseMessage) Typically you'd cast this to the expected type to use it:
(Inherited from EventData)
|
Value |
This represents a numeric value associated with the event. Use for progress-style events (Inherited from EventData) |
Properties
Result |