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