Interface IChatSubscriptionRequest
The interface IChatSubscriptionRequest.
Inherited Members
Namespace: Microsoft.Graph
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
public interface IChatSubscriptionRequest : IBaseRequest
Methods
View SourceCreateAsync(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. |
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. |
DeleteAsync()
Deletes the specified ChatSubscription.
Declaration
Task DeleteAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The task to await. |
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. |
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. |
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. |
GetAsync()
Gets the specified ChatSubscription.
Declaration
Task<ChatSubscription> GetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ChatSubscription> | The ChatSubscription. |
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. |
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. |
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. |
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. |
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. |