Show / Hide Table of Contents

Interface IOperationRequest

The interface IOperationRequest.

Inherited Members
IBaseRequest.Client
IBaseRequest.RequestUrl
IBaseRequest.Headers
IBaseRequest.QueryOptions
Namespace: Microsoft.Graph
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
public interface IOperationRequest : IBaseRequest

Methods

View Source

CreateAsync(Operation)

Creates the specified Operation using PUT.

Declaration
Task<Operation> CreateAsync(Operation operationToCreate)
Parameters
Type Name Description
Operation operationToCreate

The Operation to create.

Returns
Type Description
System.Threading.Tasks.Task<Operation>

The created Operation.

View Source

CreateAsync(Operation, CancellationToken)

Creates the specified Operation using PUT.

Declaration
Task<Operation> CreateAsync(Operation operationToCreate, CancellationToken cancellationToken)
Parameters
Type Name Description
Operation operationToCreate

The Operation to create.

System.Threading.CancellationToken cancellationToken

The System.Threading.CancellationToken for the request.

Returns
Type Description
System.Threading.Tasks.Task<Operation>

The created Operation.

View Source

DeleteAsync()

Deletes the specified Operation.

Declaration
Task DeleteAsync()
Returns
Type Description
System.Threading.Tasks.Task

The task to await.

View Source

DeleteAsync(CancellationToken)

Deletes the specified Operation.

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.

View Source

Expand(Expression<Func<Operation, Object>>)

Adds the specified expand value to the request.

Declaration
IOperationRequest Expand(Expression<Func<Operation, object>> expandExpression)
Parameters
Type Name Description
System.Linq.Expressions.Expression<System.Func<Operation, System.Object>> expandExpression

The expression from which to calculate the expand value.

Returns
Type Description
IOperationRequest

The request object to send.

View Source

Expand(String)

Adds the specified expand value to the request.

Declaration
IOperationRequest Expand(string value)
Parameters
Type Name Description
System.String value

The expand value.

Returns
Type Description
IOperationRequest

The request object to send.

View Source

GetAsync()

Gets the specified Operation.

Declaration
Task<Operation> GetAsync()
Returns
Type Description
System.Threading.Tasks.Task<Operation>

The Operation.

View Source

GetAsync(CancellationToken)

Gets the specified Operation.

Declaration
Task<Operation> 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<Operation>

The Operation.

View Source

Select(Expression<Func<Operation, Object>>)

Adds the specified select value to the request.

Declaration
IOperationRequest Select(Expression<Func<Operation, object>> selectExpression)
Parameters
Type Name Description
System.Linq.Expressions.Expression<System.Func<Operation, System.Object>> selectExpression

The expression from which to calculate the select value.

Returns
Type Description
IOperationRequest

The request object to send.

View Source

Select(String)

Adds the specified select value to the request.

Declaration
IOperationRequest Select(string value)
Parameters
Type Name Description
System.String value

The select value.

Returns
Type Description
IOperationRequest

The request object to send.

View Source

UpdateAsync(Operation)

Updates the specified Operation using PATCH.

Declaration
Task<Operation> UpdateAsync(Operation operationToUpdate)
Parameters
Type Name Description
Operation operationToUpdate

The Operation to update.

Returns
Type Description
System.Threading.Tasks.Task<Operation>

The updated Operation.

View Source

UpdateAsync(Operation, CancellationToken)

Updates the specified Operation using PATCH.

Declaration
Task<Operation> UpdateAsync(Operation operationToUpdate, CancellationToken cancellationToken)
Parameters
Type Name Description
Operation operationToUpdate

The Operation to update.

System.Threading.CancellationToken cancellationToken

The System.Threading.CancellationToken for the request.

Returns
Type Description
System.Threading.Tasks.Task<Operation>

The updated Operation.

  • View Source
Back to top Generated by DocFX