Redigera

Dela via


ManagementNamedValueCollection Constructors

Definition

Initializes a new instance of the ManagementNamedValueCollection class.

Overloads

ManagementNamedValueCollection()

Initializes a new instance of the ManagementNamedValueCollection class, which is empty. This is the parameterless constructor.

ManagementNamedValueCollection(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the ManagementNamedValueCollection class that is serializable and uses the specified SerializationInfo and StreamingContext.

ManagementNamedValueCollection()

Source:
ManagementNamedValueCollection.cs
Source:
ManagementNamedValueCollection.cs
Source:
ManagementNamedValueCollection.cs

Initializes a new instance of the ManagementNamedValueCollection class, which is empty. This is the parameterless constructor.

public:
 ManagementNamedValueCollection();
public ManagementNamedValueCollection ();
Public Sub New ()

Remarks

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to

ManagementNamedValueCollection(SerializationInfo, StreamingContext)

Source:
ManagementNamedValueCollection.cs
Source:
ManagementNamedValueCollection.cs
Source:
ManagementNamedValueCollection.cs

Caution

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Initializes a new instance of the ManagementNamedValueCollection class that is serializable and uses the specified SerializationInfo and StreamingContext.

protected:
 ManagementNamedValueCollection(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public:
 ManagementNamedValueCollection(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected ManagementNamedValueCollection (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
public ManagementNamedValueCollection (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected ManagementNamedValueCollection (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Management.ManagementNamedValueCollection : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.ManagementNamedValueCollection
new System.Management.ManagementNamedValueCollection : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.ManagementNamedValueCollection
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Public Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo to populate with data.

context
StreamingContext

The destination (see StreamingContext ) for this serialization.

Attributes

Remarks

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to