TaskInUserRoleScopeNotAllowedException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the TaskInUserRoleScopeNotAllowedException class using serialized data.
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 TaskInUserRoleScopeNotAllowedException(info, context)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected TaskInUserRoleScopeNotAllowedException (
SerializationInfo info,
StreamingContext context
)
protected:
TaskInUserRoleScopeNotAllowedException (
SerializationInfo^ info,
StreamingContext context
)
protected TaskInUserRoleScopeNotAllowedException (
SerializationInfo info,
StreamingContext context
)
protected function TaskInUserRoleScopeNotAllowedException (
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
The object that holds the serialized data about the exception being thrown.
- context
Context information about the source or destination of the serialized object.
Remarks
This constructor is called during deserialization to reconstitute the exception object that is transmitted over a stream.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
TaskInUserRoleScopeNotAllowedException Class
TaskInUserRoleScopeNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace