EditingContext.Services, propriété
Récupère le gestionnaire de services pour ce contexte d'édition.
Espace de noms : Microsoft.Windows.Design
Assembly : Microsoft.Windows.Design.Extensibility (dans Microsoft.Windows.Design.Extensibility.dll)
Syntaxe
'Déclaration
Public ReadOnly Property Services As ServiceManager
Get
public ServiceManager Services { get; }
public:
property ServiceManager^ Services {
ServiceManager^ get ();
}
member Services : ServiceManager
function get Services () : ServiceManager
Valeur de propriété
Type : Microsoft.Windows.Design.ServiceManager
ServiceManager pour ce contexte d'édition.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | La méthode CreateServiceManager a retourné un nullune référence null (Nothing en Visual Basic)ServiceManager. |
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
Microsoft.Windows.Design, espace de noms