ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
ScriptEngineException Class
ScriptEngineException Methods
GetObjectData Method
ToString Method

# ScriptEngineExceptionGetObjectData Method

Populates a SerializationInfo with the data needed to serialize the target object.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public override void GetObjectData(
    	SerializationInfo info,
    	StreamingContext context
    )

    Public Overrides Sub GetObjectData (
    	info As SerializationInfo,
    	context As StreamingContext
    )

    public:
    virtual void GetObjectData(
    	SerializationInfo^ info,
    	StreamingContext context
    ) override

    abstract GetObjectData :
            info : SerializationInfo *
            context : StreamingContext -> unit
    override GetObjectData :
            info : SerializationInfo *
            context : StreamingContext -> unit

#### Parameters

info SerializationInfo
  The SerializationInfo to populate with data.
context StreamingContext
  The destination (see StreamingContext) for this serialization.

#### Implements

ISerializableGetObjectData(SerializationInfo, StreamingContext)
See Also

#### Reference

ScriptEngineException Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft