ApplicationIDAttribute(String) Constructor

Definition

Initializes a new instance of the ApplicationIDAttribute class specifying the GUID representing the application ID for the COM+ application.

C#
public ApplicationIDAttribute(string guid);

Parameters

guid
String

The GUID associated with the COM+ application.

Examples

The following code example demonstrates how to create a new ApplicationIDAttribute.

C#
// The GUID (Globally Unique Identifier) shown below is for example purposes
// only and should be replaced by a GUID that you have generated.
[assembly: ApplicationID("727FC170-1D80-4e89-84CC-22AAB10A6F24")]

Applies to

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