Delen via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

RecognitionResult.ISerializable.GetObjectData Method

Populates a SerializationInfo instance with the data needed to serialize the target object.

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Private Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
) Implements ISerializable.GetObjectData
'Usage
Dim instance As RecognitionResult
Dim info As SerializationInfo
Dim context As StreamingContext

CType(instance, ISerializable).GetObjectData(info, _
    context)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
void ISerializable.GetObjectData(
    SerializationInfo info,
    StreamingContext context
)

Parameters

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Remarks

This member is an explicit interface member implementation. It can be used only when the RecognitionResult instance is cast to an ISerializable interface.

See Also

Reference

RecognitionResult Class

RecognitionResult Members

Microsoft.Speech.Recognition Namespace

System.Runtime.Serialization.ISerializable

RecognitionResult

RecognizedAudio

Audio