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