Edit

Share via


Club.FollowClubAsync Method

Definition

Adds the calling user as a follower of the specified club.

public Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>> FollowClubAsync ();
abstract member FollowClubAsync : unit -> Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>>
override this.FollowClubAsync : unit -> Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>>
Public Function FollowClubAsync () As IAsyncOperation(Of IVectorView(Of ClubRole))

Returns

Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<ClubRole>>

An IVectorView containing the roles the calling user now has with the club.

Implements

Microsoft.Xbox.Services.Clubs.__IClubPublicNonVirtuals.FollowClubAsync

Remarks

Calls V1 POST clubroster.xboxlive.com/clubs/{clubId}/users/{userId}/roles

Applies to