The Microsoft.Hawaii.Smash.Client namespace provides classes that implement the client library
that connects to the Hawaii Smash Service to enable social computing scenarios.
Classes
| Class | Description | |
|---|---|---|
| ChangeSetLimitException |
This exception is thrown if too many changes have been added to a single table change context.
The total limit is 100 'change units', whereas each record add accounts for 1 change units, and each record delete / update accounts for 3 change units.
For example, 70 adds, 8 updates and 2 deletes amount to a total of 100 change units.
| |
| CreateBlobCompletedArgs |
Argument class passed to the completion handler for CreateBlobAsync.
| |
| CreateSessionCompletedArgs |
Argument class passed to the completion handler for CreateSessionAsync.
| |
| EnumSessionCompletedArgs |
Argument class passed to the completion handler for EnumSessionAsync.
| |
| GetSessionInfoCompletedArgs |
Argument class passed to the completion handler for GetSessionInfoAsync.
| |
| JoinSessionCompletedArgs |
Argument class passed to the completion handler for JoinSessionAsync.
| |
| ModifySessionCompletedArgs |
Argument class passed to the completion handler for ModifySessionAsync.
| |
| SaveChangesCompletedArgs |
Argument class passed to the completion handler for SaveChangesAsync.
| |
| SerializableAttribute |
Indicates that a class can be serialized.
This class cannot be inherited.
This is a mock-up class used only for Windows Phone build.
Applications do not use this class directly.
| |
| SessionManager |
Manager class for Smash sessions.
| |
| SmashBlobUploader |
Helper to asynchronously upload blob data from a stream. The object is obtained from the completion args of SessionManager.CreateBlobAsync.
| |
| SmashException |
Base class for Smash exception classes. Applications to not use this directly.
| |
| SmashRecordBase T |
The base class for all record types. Application record types used in SmashTable must derive from this.
See ChatRecord of the SmashSampleApp for an example.
| |
| SmashSession |
A Smash session object. This holds all the state of a joined session.
| |
| SmashSession SessionState |
Tombstone session state. Applications do not use this directly.
| |
| SmashTable T |
Generic class for a SmashTable.
| |
| UploadCompletedArgs |
Argument class passed to the completion handler for UploadAsync.
| |
| UploadProgressArgs |
Argument class passed to the handler for upload progress.
| |
| WipeSessionCompletedArgs |
Argument class passed to the completion handler for WipeSessionAsync.
|
Interfaces
| Interface | Description | |
|---|---|---|
| ISmashTable |
Base interface for SmashTable<T>.
Application classes do not implement this interface.
| |
| ISmashTableChangeContext |
Base interface for SmashTableChangeContext<T>.
Application classes do not implement this interface.
|
Delegates
| Delegate | Description | |
|---|---|---|
| CreateBlobCompletedHandler |
Delegate type for completion handler of CreateBlobAsync.
| |
| CreateSessionCompletedHandler |
Delegate type for completion handler of CreateSessionAsync.
| |
| EnumSessionsCompletedHandler |
Delegate type for completion handler of EnumSessionsAsync.
| |
| GetSessionInfoCompletedHandler |
Delegate type for completion handler of GetSessionInfoAsync.
| |
| JoinSessionCompletedHandler |
Delegate type for completion handler of JoinSessionAsync.
| |
| ModifySessionCompletedHandler |
Delegate type for completion handler of ModifySessionAsync.
| |
| SaveChangesCompletedHandler |
Delegate type for completion handler of SaveChangesAsync.
| |
| UploadCompletedHandler |
Delegate type for completion handler of UploadAsync.
| |
| UploadProgressHandler |
Delegate type for progress handler of UploadAsync.
| |
| WipeSessionCompletedHandler |
Delegate type for completion handler of WipeSessionAsync.
|