ServiceAttribute Constructor (Type)
Initializes a new instance of the ServiceAttribute class using the provided type as the registration type for the service.
Namespace: Microsoft.Practices.CompositeUI
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
Public Sub New ( _
registerAs As Type _
)
'Usage
Dim registerAs As Type
Dim instance As New ServiceAttribute(registerAs)
public ServiceAttribute (
Type registerAs
)
public:
ServiceAttribute (
Type^ registerAs
)
public ServiceAttribute (
Type registerAs
)
public function ServiceAttribute (
registerAs : Type
)
Parameters
- registerAs
The registration type for the service.
See Also
Reference
ServiceAttribute Class
ServiceAttribute Members
Microsoft.Practices.CompositeUI Namespace