共用方式為


CBPeripheralDelegate_Extensions.InvalidatedService 方法

定義

開發人員不應該使用此已被取代的方法。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Obsoleted(ObjCRuntime.PlatformName.iOS, 8, 4, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void InvalidatedService (this CoreBluetooth.ICBPeripheralDelegate This, CoreBluetooth.CBPeripheral peripheral);
static member InvalidatedService : CoreBluetooth.ICBPeripheralDelegate * CoreBluetooth.CBPeripheral -> unit

參數

This
ICBPeripheralDelegate

這個擴充方法運作所在的實例。

peripheral
CBPeripheral
屬性

適用於