อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


DiscoveryServiceExtension.IExtension<ServiceHostBase>.Detach Method

Definition

Overload this method to allow the extension to be detached from its service host.

C#
void IExtension<ServiceHostBase>.Detach(System.ServiceModel.ServiceHostBase owner);

Parameters

owner
ServiceHostBase

The service host to detach from.

Implements

Remarks

The base class implementation of this method throws an InvalidOperationException that indicates discovery service extensions cannot be detached.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1