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

Usage

Visual Basic
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New ConsoleTaskInUserRoleScopeNotAllowedException(info, context)

Syntax

Visual Basic
Protected Sub New ( _
		info As SerializationInfo, _
		context As StreamingContext _
)
C#
protected ConsoleTaskInUserRoleScopeNotAllowedException (
		SerializationInfo info,
		StreamingContext context
)
C++
protected:
ConsoleTaskInUserRoleScopeNotAllowedException (
		SerializationInfo^ info, 
		StreamingContext context
)
J#
protected ConsoleTaskInUserRoleScopeNotAllowedException (
		SerializationInfo info, 
		StreamingContext context
)
JScript
protected function ConsoleTaskInUserRoleScopeNotAllowedException (
		info : SerializationInfo, 
		context : StreamingContext
)

Parameters

info

The serialized object that has data about the exception being thrown.

context

The 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