Class GraphRequest<T>
Inheritance
GraphRequest<T>
Assembly: Microsoft.Graph.Communications.Common.dll
Syntax
public class GraphRequest<T> : IGraphRequest<T>, IGraphExchange<T>, IGraphExchange
Type Parameters
Constructors
GraphRequest(Uri, T, RequestType)
Initializes a new instance of the GraphRequest<T> class.
Create the graph request object
Declaration
public GraphRequest(Uri location, T content, RequestType requestType)
Parameters
Type |
Name |
Description |
Uri |
location |
The uri location for the request.
|
T |
content |
Content to be sent as part of the request.
|
RequestType |
requestType |
Type of the request.
|
Properties
Content
Declaration
public T Content { get; set; }
Property Value
Properties
Gets the properties of the exchange.
Declaration
public ICollection<IGraphProperty> Properties { get; }
Property Value
RequestType
Declaration
public RequestType RequestType { get; }
Property Value
Uri
Declaration
Property Value
Methods
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods