ApplicationIDAttribute(String) Constructor
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van de ApplicationIDAttribute klasse dat de GUID aangeeft die de toepassings-id voor de COM+-toepassing vertegenwoordigt.
public:
ApplicationIDAttribute(System::String ^ guid);
public ApplicationIDAttribute(string guid);
new System.EnterpriseServices.ApplicationIDAttribute : string -> System.EnterpriseServices.ApplicationIDAttribute
Public Sub New (guid As String)
Parameters
- guid
- String
De GUID die is gekoppeld aan de COM+-toepassing.
Voorbeelden
In het volgende codevoorbeeld ziet u hoe u een nieuwe ApplicationIDAttributemaakt.
// 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")>