You can create, disable, and delete chat rooms and categories
using the procedures described in the following table.
Task
|
Procedure
|
Create chat rooms
|
-
Select a parent category for the chat room. If necessary, browse
for categories where chat room creation is permitted using
BeginFindCategoriesWithCreateRights(AsyncCallback, Object)
.
-
Construct an instance of
ChatRoomSettings
.
-
When possible, maintain the null value for each property that
accepts a bool? nullable type. When this value is null, the chat
room inherits the parent category value.
-
Invoke
BeginCreateChatRoom(ChatRoomSettings, AsyncCallback, Object)
.
|
Create chat room categories
|
-
Select a parent category for the category. If necessary, use the
BeginFindCategoriesWithCreateRights(AsyncCallback, Object)
method to browse for categories where chat room creation is
permitted.
-
Construct an instance of
ChatRoomCategorySettings
.
-
When possible, maintain the null value for each property that
accepts a bool? nullable type. When this value is null, the chat
room inherits the parent category value.
-
Invoke
BeginCreateChatRoomCategory(ChatRoomCategorySettings,
AsyncCallback, Object)
.
|
Disabling a chat room
|
|
Deleting a chat room category
|
Before you can delete a category, you must delete or move all
child nodes from the category.
-
Use the
BeginChangeParentCategory(ChatRoomCategory, Uri, AsyncCallback,
Object)
method to move nodes.
-
Use the
BeginDeleteChatRoomCategory(ChatRoomCategory, AsyncCallback,
Object)
method to delete an empty category.
|