Interface IChatSubscriptionsCollectionRequest
The interface IChatSubscriptionsCollectionRequest.
Inherited Members
Namespace: Microsoft.Graph
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
public interface IChatSubscriptionsCollectionRequest : IBaseRequest
Methods
View SourceAddAsync(ChatSubscription)
Adds the specified ChatSubscription to the collection via POST.
Declaration
Task<ChatSubscription> AddAsync(ChatSubscription ChatSubscription)
Parameters
Type | Name | Description |
---|---|---|
ChatSubscription | ChatSubscription | The ChatSubscription to add. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ChatSubscription> | The created ChatSubscription. |
AddAsync(ChatSubscription, CancellationToken)
Adds the specified ChatSubscription to the collection via POST.
Declaration
Task<ChatSubscription> AddAsync(ChatSubscription ChatSubscription, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ChatSubscription | ChatSubscription | The ChatSubscription to add. |
System.Threading.CancellationToken | cancellationToken | The System.Threading.CancellationToken for the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ChatSubscription> | The created ChatSubscription. |
Expand(Expression<Func<ChatSubscription, Object>>)
Adds the specified expand value to the request.
Declaration
IChatSubscriptionsCollectionRequest 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 |
---|---|
IChatSubscriptionsCollectionRequest | The request object to send. |
Expand(String)
Adds the specified expand value to the request.
Declaration
IChatSubscriptionsCollectionRequest Expand(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The expand value. |
Returns
Type | Description |
---|---|
IChatSubscriptionsCollectionRequest | The request object to send. |
Filter(String)
Adds the specified filter value to the request.
Declaration
IChatSubscriptionsCollectionRequest Filter(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The filter value. |
Returns
Type | Description |
---|---|
IChatSubscriptionsCollectionRequest | The request object to send. |
GetAsync()
Gets the collection page.
Declaration
Task<IChatSubscriptionsCollectionPage> GetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IChatSubscriptionsCollectionPage> | The collection page. |
GetAsync(CancellationToken)
Gets the collection page.
Declaration
Task<IChatSubscriptionsCollectionPage> 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<IChatSubscriptionsCollectionPage> | The collection page. |
OrderBy(String)
Adds the specified orderby value to the request.
Declaration
IChatSubscriptionsCollectionRequest OrderBy(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The orderby value. |
Returns
Type | Description |
---|---|
IChatSubscriptionsCollectionRequest | The request object to send. |
Select(Expression<Func<ChatSubscription, Object>>)
Adds the specified select value to the request.
Declaration
IChatSubscriptionsCollectionRequest 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 |
---|---|
IChatSubscriptionsCollectionRequest | The request object to send. |
Select(String)
Adds the specified select value to the request.
Declaration
IChatSubscriptionsCollectionRequest Select(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The select value. |
Returns
Type | Description |
---|---|
IChatSubscriptionsCollectionRequest | The request object to send. |
Skip(Int32)
Adds the specified skip value to the request.
Declaration
IChatSubscriptionsCollectionRequest Skip(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | The skip value. |
Returns
Type | Description |
---|---|
IChatSubscriptionsCollectionRequest | The request object to send. |
Top(Int32)
Adds the specified top value to the request.
Declaration
IChatSubscriptionsCollectionRequest Top(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | The top value. |
Returns
Type | Description |
---|---|
IChatSubscriptionsCollectionRequest | The request object to send. |