DiscoveryServiceExtension.IExtension<ServiceHostBase>.Detach 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.
Overload this method to allow the extension to be detached from its service host.
virtual void System.ServiceModel.IExtension<System.ServiceModel.ServiceHostBase>.Detach(System::ServiceModel::ServiceHostBase ^ owner) = System::ServiceModel::IExtension<System::ServiceModel::ServiceHostBase ^>::Detach;
void IExtension<ServiceHostBase>.Detach (System.ServiceModel.ServiceHostBase owner);
abstract member System.ServiceModel.IExtension<System.ServiceModel.ServiceHostBase>.Detach : System.ServiceModel.ServiceHostBase -> unit
override this.System.ServiceModel.IExtension<System.ServiceModel.ServiceHostBase>.Detach : System.ServiceModel.ServiceHostBase -> unit
Sub Detach (owner As ServiceHostBase) Implements IExtension(Of ServiceHostBase).Detach
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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.