Visual Basic (Declaration) | |
---|---|
Public Overrides Sub Close() |
C# | |
---|---|
public override void Close() |
Exception | Description |
---|---|
The Dispose or Close methods must be invoked from a different thread than the internal MobileService thread. |
A MobileService needs to be closed if it's going to be used to connect to a different web service. After the MobileService file is closed, the lock on the file will be released.
When a MobileService file is closed, cached data will remain in the cache file.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family