ServiceCollection Constructor

<< 点击显示目录 >>

主页  PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > ServiceCollection Class >

ServiceCollection Constructor

BR.AN.PviServices .NET


Initializes a new instance of this class.

[Visual Basic]

Public Sub New()

[C#]

ServiceCollection();

Example

// Creating a new ServiceCollection instance
ServiceCollection serviceCollection = new ServiceCollection();
// Creating two Service objects which are added automatically to
// the ServiceCollection object.
Service service_01 = new Service("Service_01",serviceCollection);
Service service_02 = new Service("Service_02",serviceCollection);
// ... create some Plcservices objects.
// Saving PviServices configuration in a xml-File
serviceCollection.SavexConfiguration("C:\\PviServices_configuration.xml")

See Also

ServiceCollection Class | BR.AN.PviServices Namespace


Generated from assembly BR.AN.PviServices [8.1.0.4]