Compartilhar via


ClassInUserRoleScopeNotAllowedException Constructor (SerializationInfo, StreamingContext)

Creates a new instance of the ClassInUserRoleScopeNotAllowedException class with serialized information describing the exception and the context of the exception.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New ClassInUserRoleScopeNotAllowedException(info, context)

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected ClassInUserRoleScopeNotAllowedException (
    SerializationInfo info,
    StreamingContext context
)
protected:
ClassInUserRoleScopeNotAllowedException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected ClassInUserRoleScopeNotAllowedException (
    SerializationInfo info, 
    StreamingContext context
)
protected function ClassInUserRoleScopeNotAllowedException (
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

  • info
    The serialized information about the exception.
  • context
    The serialized context in which the exception was raised.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ClassInUserRoleScopeNotAllowedException Class
ClassInUserRoleScopeNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace