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