InvalidViewInUserRoleScopeException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the InvalidViewInUserRoleScopeException class.
Overloads
InvalidViewInUserRoleScopeException() |
Initializes a new instance of the InvalidViewInUserRoleScopeException class. |
InvalidViewInUserRoleScopeException(Exception) |
Initializes a new instance of the InvalidViewInUserRoleScopeException class using a reference to the inner exception that is the cause of this exception. |
InvalidViewInUserRoleScopeException(String) |
Initializes a new instance of the InvalidViewInUserRoleScopeException class using the specified error message. |
InvalidViewInUserRoleScopeException(Guid, Guid) |
Initializes a new instance of the InvalidViewInUserRoleScopeException class using the specified parameters. |
InvalidViewInUserRoleScopeException(SerializationInfo, StreamingContext) |
Initializes a new instance of the InvalidViewInUserRoleScopeException class using serialized data. |
InvalidViewInUserRoleScopeException(String, Exception) |
Initializes a new instance of the InvalidViewInUserRoleScopeException class using the specified message and a reference to the inner exception that is the cause of this exception. |
InvalidViewInUserRoleScopeException()
Initializes a new instance of the InvalidViewInUserRoleScopeException class.
public:
InvalidViewInUserRoleScopeException();
public InvalidViewInUserRoleScopeException ();
Public Sub New ()
Applies to
InvalidViewInUserRoleScopeException(Exception)
Initializes a new instance of the InvalidViewInUserRoleScopeException class using a reference to the inner exception that is the cause of this exception.
public:
InvalidViewInUserRoleScopeException(Exception ^ inner);
public InvalidViewInUserRoleScopeException (Exception inner);
new Microsoft.EnterpriseManagement.Common.InvalidViewInUserRoleScopeException : Exception -> Microsoft.EnterpriseManagement.Common.InvalidViewInUserRoleScopeException
Public Sub New (inner As Exception)
Parameters
- inner
- Exception
The exception that is the cause of the current exception.
Applies to
InvalidViewInUserRoleScopeException(String)
Initializes a new instance of the InvalidViewInUserRoleScopeException class using the specified error message.
public:
InvalidViewInUserRoleScopeException(System::String ^ message);
public InvalidViewInUserRoleScopeException (string message);
new Microsoft.EnterpriseManagement.Common.InvalidViewInUserRoleScopeException : string -> Microsoft.EnterpriseManagement.Common.InvalidViewInUserRoleScopeException
Public Sub New (message As String)
Parameters
- message
- String
The error message that describes the current exception.
Applies to
InvalidViewInUserRoleScopeException(Guid, Guid)
Initializes a new instance of the InvalidViewInUserRoleScopeException class using the specified parameters.
public:
InvalidViewInUserRoleScopeException(Guid userRoleId, Guid viewId);
public InvalidViewInUserRoleScopeException (Guid userRoleId, Guid viewId);
new Microsoft.EnterpriseManagement.Common.InvalidViewInUserRoleScopeException : Guid * Guid -> Microsoft.EnterpriseManagement.Common.InvalidViewInUserRoleScopeException
Public Sub New (userRoleId As Guid, viewId As Guid)
Parameters
- userRoleId
- Guid
The GUID for the user role.
- viewId
- Guid
The GUJD for the view.
Applies to
InvalidViewInUserRoleScopeException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidViewInUserRoleScopeException class using serialized data.
protected:
InvalidViewInUserRoleScopeException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InvalidViewInUserRoleScopeException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EnterpriseManagement.Common.InvalidViewInUserRoleScopeException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.InvalidViewInUserRoleScopeException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The object that holds the serialized data about the exception being thrown.
- context
- StreamingContext
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.
Applies to
InvalidViewInUserRoleScopeException(String, Exception)
Initializes a new instance of the InvalidViewInUserRoleScopeException class using the specified message and a reference to the inner exception that is the cause of this exception.
public:
InvalidViewInUserRoleScopeException(System::String ^ message, Exception ^ inner);
public InvalidViewInUserRoleScopeException (string message, Exception inner);
new Microsoft.EnterpriseManagement.Common.InvalidViewInUserRoleScopeException : string * Exception -> Microsoft.EnterpriseManagement.Common.InvalidViewInUserRoleScopeException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The error message that describes the current exception.
- inner
- Exception
The exception that is the cause of the current exception.