Skip to content

Commit 9814125

Browse files
Steven WhiteSteven White
authored andcommitted
Merged PR 21118: a bit more info/clarity
a bit more info/clarity
1 parent a3a2950 commit 9814125

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

windows.devices.bluetooth.genericattributeprofile/gattdeviceservice_close_811482585.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ public void Close()
1111
# Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService.Close
1212

1313
## -description
14-
Releases the resources associated with the GattDeviceService class. This allows other apps to access the resources of the GattDeviceService in question. A GattDeviceService object should not be used after Close is invoked, instead a new GattDeviceService object should be instantiated using the FromIdAsync method.
14+
15+
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](./gattdeviceservice_fromidasync_116749634.md) method.
16+
17+
For C++, call **Close**. For .NET languages, this **Close** method is projected into [Dispose](/uwp/api/windows.devices.bluetooth.genericattributeprofile.gattdeviceservice.dispose).
1518

1619
## -remarks
1720

0 commit comments

Comments
 (0)