CreateGroupAsync() public static method

public static CreateGroupAsync ( string groupName ) : Task
groupName string
return Task
Ejemplo n.º 1
0
        public static async Task <bool> TryDeleteGroupAsync()
        {
            // Create a group first, then delete it.
            string createdGroup = await GroupSnippets.CreateGroupAsync(STORY_DATA_IDENTIFIER);

            return(await GroupSnippets.DeleteGroupAsync(createdGroup));
        }
Ejemplo n.º 2
0
        public static async Task <bool> TryCreateGroupAsync()
        {
            string createdGroup = await GroupSnippets.CreateGroupAsync(STORY_DATA_IDENTIFIER);

            return(createdGroup != null);
        }