The ItemAsync method retrieves the requested FPCSessionsMonitorEntry object (IFPCSessionsMonitorEntry interface in C++) from the collection if it is available, returns null and sets the error code to E_PENDING if the requested object cannot be found immediately, or returns null and sets an error code if the operation fails or another error occurs. In C++, this method returns E_PENDING if the requested interface cannot be found immediately, or it returns an error code if the operation fails or another error occurs.
HRESULT ItemAsync( [in] long index, IFPCSessionsMonitorEntry** pItem );
Required. One-based index of the object to retrieve.
Address of an interface pointer that on return points to the IFPCSessionsMonitorEntry interface requested if the call is successful, or to a null interface if the requested interface cannot be found or the operation fails.
Function ItemAsync( _ ByVal index As Long _ ) As FPCSessionsMonitorEntry
Required. One-based index of the object to retrieve.
This method returns a reference to an FPCSessionsMonitorEntry object requested if successful. Otherwise, it returns null and raises an error that can be intercepted by using an error handler. The error code set can be one of the following:
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.