Activity(ServiceConfig) Constructor
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the Activity class.
public:
Activity(System::EnterpriseServices::ServiceConfig ^ cfg);
public Activity(System.EnterpriseServices.ServiceConfig cfg);
new System.EnterpriseServices.Activity : System.EnterpriseServices.ServiceConfig -> System.EnterpriseServices.Activity
Public Sub New (cfg As ServiceConfig)
- cfg
- ServiceConfig
A ServiceConfig that contains the configuration information for the services to be used.
Activity is not supported on the current platform.
The following code example demonstrates how to initialize a new instance of the Activity class.
Activity activity = new Activity(serviceConfig);
Creates an Activity that is used to submit batch work to COM+ services. The context associated with the activity is completely determined by the ServiceConfig object that is passed through the cfg
parameter.
Produkt | Verzie |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: