SettingsContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SettingsContext() |
Initializes a new instance of the SettingsContext class. |
SettingsContext(SerializationInfo, StreamingContext) |
Constructor for deserializing a SettingsContext instance from state file (binary serialization). |
SettingsContext()
- Source:
- SettingsContext.cs
- Source:
- SettingsContext.cs
Initializes a new instance of the SettingsContext class.
public:
SettingsContext();
public SettingsContext ();
Public Sub New ()
Applies to
SettingsContext(SerializationInfo, StreamingContext)
- Source:
- SettingsContext.cs
- Source:
- SettingsContext.cs
Constructor for deserializing a SettingsContext instance from state file (binary serialization).
protected:
SettingsContext(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected SettingsContext (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Configuration.SettingsContext : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsContext
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)
Parameters
- serializationInfo
- SerializationInfo
The SerializationInfo containing all the data needed to deserialize the object.
- streamingContext
- StreamingContext
The StreamingContext describing the source and destination of the given serialized stream.