[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Initializes a new QueryGrammarException object with serialized data. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim serializationInfo As SerializationInfo
Dim streamingContext As StreamingContext

Dim instance As New QueryGrammarException(serializationInfo, streamingContext)

Syntax

Visual Basic
Protected Sub New ( _
		serializationInfo As SerializationInfo, _
		streamingContext As StreamingContext _
)
C#
protected QueryGrammarException (
		SerializationInfo serializationInfo,
		StreamingContext streamingContext
)
C++
protected:
QueryGrammarException (
		SerializationInfo^ serializationInfo, 
		StreamingContext streamingContext
)
J#
protected QueryGrammarException (
		SerializationInfo serializationInfo, 
		StreamingContext streamingContext
)
JScript
protected function QueryGrammarException (
		serializationInfo : SerializationInfo, 
		streamingContext : StreamingContext
)

Parameters

serializationInfo

The SerializationInfo object that holds the serialized object data about the exception being thrown.

streamingContext

The StreamingContext object that contains contextual information about the source or destination.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also