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