ApplicationIDAttribute(String) Constructor

Definición

Inicializa una nueva instancia de la clase ApplicationIDAttribute a partir del GUID que representa el identificador para la aplicación de COM+.Initializes a new instance of the ApplicationIDAttribute class specifying the GUID representing the application ID for the COM+ application.

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

Parámetros

guid
String

El GUID asociado a la aplicación de COM+.The GUID associated with the COM+ application.

Ejemplos

En el ejemplo de código siguiente se muestra cómo crear ApplicationIDAttributeun nuevo.The following code example demonstrates how to create a new 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")> 

Se aplica a