ApplicationId Constructor (Byte[], String, Version, String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the ApplicationId class.

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

new : 
        publicKeyToken:byte[] *
        name:string *
        version:Version *
        processorArchitecture:string *
        culture:string -> ApplicationId

Parameters

publicKeyToken
Type: System.Byte[]

The array of bytes representing the raw public key data.

name
Type: System.String

The name of the application.

version
Type: System.Version

A Version object that specifies the version of the application.

processorArchitecture
Type: System.String

The processor architecture of the application.

culture
Type: System.String

The culture of the application.

Exception Condition
ArgumentNullException

name is null.

-or-

version is null.

-or-

publicKeyToken is null.

ArgumentException

name is an empty string.

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

.NET Framework
Available since 2.0
Return to top
Show: