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

แชร์ผ่าน


DiscoveryServiceExtension.GetDiscoveryService Method

Definition

Override this method to return your custom DiscoveryService implementation.

C#
protected abstract System.ServiceModel.Discovery.DiscoveryService GetDiscoveryService();

Returns

A custom discovery service implementation.

Remarks

An InvalidOperationException is thrown while opening the service host if this method returns null

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