Interface IApplicationRequest
The interface IApplicationRequest.
Inherited Members
Namespace: Microsoft.Graph
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
public interface IApplicationRequest : IBaseRequest
Methods
View SourceCreateAsync(Application)
Creates the specified Application using PUT.
Declaration
Task<Application> CreateAsync(Application applicationToCreate)
Parameters
Type | Name | Description |
---|---|---|
Application | applicationToCreate | The Application to create. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Application> | The created Application. |
CreateAsync(Application, CancellationToken)
Creates the specified Application using PUT.
Declaration
Task<Application> CreateAsync(Application applicationToCreate, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Application | applicationToCreate | The Application to create. |
System.Threading.CancellationToken | cancellationToken | The System.Threading.CancellationToken for the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Application> | The created Application. |
DeleteAsync()
Deletes the specified Application.
Declaration
Task DeleteAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The task to await. |
DeleteAsync(CancellationToken)
Deletes the specified Application.
Declaration
Task DeleteAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The System.Threading.CancellationToken for the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The task to await. |
Expand(Expression<Func<Application, Object>>)
Adds the specified expand value to the request.
Declaration
IApplicationRequest Expand(Expression<Func<Application, object>> expandExpression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<Application, System.Object>> | expandExpression | The expression from which to calculate the expand value. |
Returns
Type | Description |
---|---|
IApplicationRequest | The request object to send. |
Expand(String)
Adds the specified expand value to the request.
Declaration
IApplicationRequest Expand(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The expand value. |
Returns
Type | Description |
---|---|
IApplicationRequest | The request object to send. |
GetAsync()
Gets the specified Application.
Declaration
Task<Application> GetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Application> | The Application. |
GetAsync(CancellationToken)
Gets the specified Application.
Declaration
Task<Application> GetAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The System.Threading.CancellationToken for the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Application> | The Application. |
Select(Expression<Func<Application, Object>>)
Adds the specified select value to the request.
Declaration
IApplicationRequest Select(Expression<Func<Application, object>> selectExpression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<Application, System.Object>> | selectExpression | The expression from which to calculate the select value. |
Returns
Type | Description |
---|---|
IApplicationRequest | The request object to send. |
Select(String)
Adds the specified select value to the request.
Declaration
IApplicationRequest Select(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The select value. |
Returns
Type | Description |
---|---|
IApplicationRequest | The request object to send. |
UpdateAsync(Application)
Updates the specified Application using PATCH.
Declaration
Task<Application> UpdateAsync(Application applicationToUpdate)
Parameters
Type | Name | Description |
---|---|---|
Application | applicationToUpdate | The Application to update. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Application> | The updated Application. |
UpdateAsync(Application, CancellationToken)
Updates the specified Application using PATCH.
Declaration
Task<Application> UpdateAsync(Application applicationToUpdate, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Application | applicationToUpdate | The Application to update. |
System.Threading.CancellationToken | cancellationToken | The System.Threading.CancellationToken for the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Application> | The updated Application. |