Bewerken

Share via


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

Definition

Initializes a new instance of the ApplicationId class.

public:
 ApplicationId(cli::array <System::Byte> ^ publicKeyToken, System::String ^ name, Version ^ version, System::String ^ processorArchitecture, System::String ^ culture);
public ApplicationId (byte[] publicKeyToken, string name, Version version, string? processorArchitecture, string? culture);
public ApplicationId (byte[] publicKeyToken, string name, Version version, string processorArchitecture, string culture);
new ApplicationId : byte[] * string * Version * string * string -> ApplicationId
Public Sub New (publicKeyToken As Byte(), name As String, version As Version, processorArchitecture As String, culture As String)

Parameters

publicKeyToken
Byte[]

The array of bytes representing the raw public key data.

name
String

The name of the application.

version
Version

A Version object that specifies the version of the application.

processorArchitecture
String

The processor architecture of the application.

culture
String

The culture of the application.

Exceptions

name is null.

-or-

version is null.

-or-

publicKeyToken is null.

name is an empty string.

Remarks

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

Applies to