GattDeviceService.Close 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.
Releases the resources associated with the GattDeviceService class. This allows other apps to access the resources of the GattDeviceService in question. Don't use a GattDeviceService object after you've invoked Close on it; instead, instantiate a new GattDeviceService object by using the FromIdAsync method.
For C++, call Close. For .NET languages, this Close method is projected into Dispose.
public:
virtual void Close() = Close;
void Close();
// This member is not implemented in C#
function close()
' This member is not implemented in VB.NET
Implements
Windows requirements
App capabilities |
bluetooth
|