System.ComponentModel.ServiceAttribute.ServiceAttribute C# (CSharp) Method

ServiceAttribute() public method

Creates an instance of ServiceAttribute.
public ServiceAttribute ( Type serviceType ) : System
serviceType System.Type The type of service this attribute represents.
return System
        public ServiceAttribute(Type serviceType)
        {
            _serviceType = serviceType;
        }
ServiceAttribute