Delen via


ValidationAttribute.ServiceProvider Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets the a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design (in Microsoft.Practices.EnterpriseLibrary.Configuration.Design.dll)

Syntax

'Declaration
ProtectedReadOnlyPropertyServiceProviderAs IServiceProvider
protected IServiceProvider ServiceProvider { get; }
protected:
property IServiceProvider^ ServiceProvider {
    IServiceProvider^ get ();
}
protectedfunction getServiceProvider () : IServiceProvider

Field Value

The a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.

See Also

ValidationAttribute Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.