Export (0) Print
Expand All

ApplicationId.ApplicationId Constructor

Initializes a new instance of the ApplicationId class.

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

public ApplicationId (
	byte[] publicKeyToken,
	string name,
	Version version,
	string processorArchitecture,
	string culture
)
public ApplicationId (
	byte[] publicKeyToken, 
	String name, 
	Version version, 
	String processorArchitecture, 
	String culture
)
public function ApplicationId (
	publicKeyToken : byte[], 
	name : String, 
	version : Version, 
	processorArchitecture : String, 
	culture : String
)
Not applicable.

Parameters

publicKeyToken

The array of bytes representing the raw public key data.

name

The name of the application.

version

A Version object that specifies the version of the application.

processorArchitecture

The processor architecture of the application.

culture

The culture of the application.

Exception typeCondition

ArgumentNullException

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

-or-

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

-or-

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

ArgumentException

name is an empty string.

The constructor initializes the Culture, Name, ProcessorArchitecture, PublicKeyToken, and Version properties of the ApplicationId.

Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2015 Microsoft