ApplicationIDAttribute(String) Konstruktor

Definition

Initierar en ny instans av ApplicationIDAttribute klassen som anger DET GUID som representerar program-ID:t för COM+-programmet.

public:
 ApplicationIDAttribute(System::String ^ guid);
public ApplicationIDAttribute(string guid);
new System.EnterpriseServices.ApplicationIDAttribute : string -> System.EnterpriseServices.ApplicationIDAttribute
Public Sub New (guid As String)

Parametrar

guid
String

GUID:et som är associerat med COM+-programmet.

Exempel

Följande kodexempel visar hur du skapar en ny ApplicationIDAttribute.

// 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")]
' 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")>

Gäller för