Show / Hide Table of Contents

Interface IMentionRequest

The interface IMentionRequest.

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

Methods

View Source

CreateAsync(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.

View Source

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.

View Source

DeleteAsync()

Deletes the specified Mention.

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

The task to await.

View Source

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.

View Source

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.

View Source

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.

View Source

GetAsync()

Gets the specified Mention.

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

The Mention.

View Source

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.

View Source

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.

View Source

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.

View Source

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.

View Source

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.

  • View Source
Back to top Generated by DocFX