Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[IMsgrSession is no longer available for use as of Windows Vista. See Windows Messenger for more information.]
Do not use. The IMsgrSession interface provides programmatic access to the MsgrSession object.
Members
The IMsgrSession interface inherits from the IDispatch interface. IMsgrSession also has these types of members:
Methods
The IMsgrSession interface has these methods.
| Method | Description |
|---|---|
| Accept | Recipient accepts the invitation. |
| Cancel | Inviter cancels the invitation. |
| Decline | Recipient declines the invitation. |
| Invite | Invites a user to the current session. |
| SendContextData | Sends application-specific context data. |
Properties
The IMsgrSession interface has these properties.
| Property | Access type | Description |
|---|---|---|
| Application |
Obtains the application's GUID set by the inviter for this session from the registry. |
|
| ApplicationName |
Read-only |
Retrieves a value that indicates the application name. |
| ApplicationURL |
Read-only |
Retrieves a value that indicates the application's URL from the registry. |
| ContextData |
Read-only |
Retrieves a value that indicates the application-specific context data. |
| Flags |
Read-only |
Retrieves a value that indicates the session flags. |
| LocalAddress |
Sets or retrieves the IP address of the session. |
|
| RemoteAddress |
Read-only |
Retrieves a value that indicates the IP address of the other party in the session. |
| SessionID |
Read-only |
Retrieves a value that indicates the session ID. |
| State |
Read-only |
Retrieves a value that indicates the current state of the session. |
| User |
Read-only |
Retrieves a pointer to an IDispatch of a MessengerContact object. |
Requirements
| Minimum supported client |
Windows XP [desktop apps only] |
| Minimum supported server |
Windows Server 2003 [desktop apps only] |
| End of client support |
Windows XP |
| End of server support |
Windows Server 2003 |
| Product |
Messenger 4.0 |
| Header |
|
| IDL |
|
| DLL |
|