Share via


ApplicationIDAttribute(String) コンストラクター

定義

COM+ アプリケーションのアプリケーション ID を表している GUID を指定する、ApplicationIDAttribute クラスの新しいインスタンスを初期化します。

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

パラメーター

guid
String

COM+ アプリケーションに関連付けられている GUID。

次のコード例は、新しい 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")>

適用対象