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