Show / Hide Table of Contents

Interface IChatSubscriptionRequest

The interface IChatSubscriptionRequest.

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

Methods

View Source

CreateAsync(ChatSubscription)

Creates the specified ChatSubscription using PUT.

Declaration
Task<ChatSubscription> CreateAsync(ChatSubscription chatSubscriptionToCreate)
Parameters
Type Name Description
ChatSubscription chatSubscriptionToCreate

The ChatSubscription to create.

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

The created ChatSubscription.

View Source

CreateAsync(ChatSubscription, CancellationToken)

Creates the specified ChatSubscription using PUT.

Declaration
Task<ChatSubscription> CreateAsync(ChatSubscription chatSubscriptionToCreate, CancellationToken cancellationToken)
Parameters
Type Name Description
ChatSubscription chatSubscriptionToCreate

The ChatSubscription to create.

System.Threading.CancellationToken cancellationToken

The System.Threading.CancellationToken for the request.

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

The created ChatSubscription.

View Source

DeleteAsync()

Deletes the specified ChatSubscription.

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

The task to await.

View Source

DeleteAsync(CancellationToken)

Deletes the specified ChatSubscription.

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<ChatSubscription, Object>>)

Adds the specified expand value to the request.

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

The expression from which to calculate the expand value.

Returns
Type Description
IChatSubscriptionRequest

The request object to send.

View Source

Expand(String)

Adds the specified expand value to the request.

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

The expand value.

Returns
Type Description
IChatSubscriptionRequest

The request object to send.

View Source

GetAsync()

Gets the specified ChatSubscription.

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

The ChatSubscription.

View Source

GetAsync(CancellationToken)

Gets the specified ChatSubscription.

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

The ChatSubscription.

View Source

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

Adds the specified select value to the request.

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

The expression from which to calculate the select value.

Returns
Type Description
IChatSubscriptionRequest

The request object to send.

View Source

Select(String)

Adds the specified select value to the request.

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

The select value.

Returns
Type Description
IChatSubscriptionRequest

The request object to send.

View Source

UpdateAsync(ChatSubscription)

Updates the specified ChatSubscription using PATCH.

Declaration
Task<ChatSubscription> UpdateAsync(ChatSubscription chatSubscriptionToUpdate)
Parameters
Type Name Description
ChatSubscription chatSubscriptionToUpdate

The ChatSubscription to update.

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

The updated ChatSubscription.

View Source

UpdateAsync(ChatSubscription, CancellationToken)

Updates the specified ChatSubscription using PATCH.

Declaration
Task<ChatSubscription> UpdateAsync(ChatSubscription chatSubscriptionToUpdate, CancellationToken cancellationToken)
Parameters
Type Name Description
ChatSubscription chatSubscriptionToUpdate

The ChatSubscription to update.

System.Threading.CancellationToken cancellationToken

The System.Threading.CancellationToken for the request.

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

The updated ChatSubscription.

  • View Source
Back to top Generated by DocFX