Export (0) Print
Expand All

ApplicationIdentity Constructor

Note: This constructor is new in the .NET Framework version 2.0.

Initializes a new instance of the ApplicationIdentity class.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

public ApplicationIdentity (
	string applicationIdentityFullName
)
public ApplicationIdentity (
	String applicationIdentityFullName
)
public function ApplicationIdentity (
	applicationIdentityFullName : String
)

Parameters

applicationIdentityFullName

The full name of the application.

Exception typeCondition

ArgumentNullException

applicationIdentityFullName is a null reference (Nothing in Visual Basic).

The format of the applicationIdentityFullName parameter is a comma-delimited Unicode string that begins with the name, as follows:


						applicationURL
						#
						deploymentIdentity
						\
						applicationIdentity
					

Where deploymentIdentity =


						deploymentManifest
						, Version = 
						Major.Minor.Build.Revision
						, Culture = 
						CultureInfo
						, PublicKeyToken=
						TokenNumber
						, processorArchitecture=
						processorArchitecture
					

And applicationIdentity =


						applicationName
						, Version = 
						Major.Minor.Build.Revision
						, Culture = 
						CultureInfo
						, PublicKeyToken=
						TokenNumber
						, processorArchitecture=
						processorArchitecture
						, type=
						OsType
					

The following is an example of the full name for an application named ActivationContext:

http://testserver/ActivationContext/ActivationContext.application
#ActivationContext.application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ae13aad84c1a3490, processorArchitecture=msil
\ActivationContext.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ae13aad84c1a3490, processorArchitecture=msil, type=win32

The default value for processor architecture is "msil", and the default value for type is "win32".

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft