SafeSerializationEventArgs.AddSerializedState(ISafeSerializationData) Method
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.
Stores the state of the exception.
public:
void AddSerializedState(System::Runtime::Serialization::ISafeSerializationData ^ serializedState);
public void AddSerializedState (System.Runtime.Serialization.ISafeSerializationData serializedState);
member this.AddSerializedState : System.Runtime.Serialization.ISafeSerializationData -> unit
Public Sub AddSerializedState (serializedState As ISafeSerializationData)
Parameters
- serializedState
- ISafeSerializationData
A state object that is serialized with the instance.
Remarks
The class or structure that implements the ISafeSerializationData allows you to serialize custom data in security-transparent code.
For more information and an example, see the ISafeSerializationData class.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.