ContactGroupServices.BeginGetCachedGroup(Int32, AsyncCallback, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Begins an asynchronous operation to get a cached group.
public:
IAsyncResult ^ BeginGetCachedGroup(int groupId, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginGetCachedGroup (int groupId, AsyncCallback userCallback, object state);
member this.BeginGetCachedGroup : int * AsyncCallback * obj -> IAsyncResult
Public Function BeginGetCachedGroup (groupId As Integer, userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- groupId
- Int32
Group to get information about.
- userCallback
- AsyncCallback
The method to be called when the asynchronous operation is completed.
- state
- Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.
Returns
An IAsyncResult that references the asynchronous operation.
Exceptions
Thrown when the subscription state is not idle or subscribed.
Thrown when groupId
is not positive.