MonitoringObjectInUserRoleScopeAlreadyExistsException 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 MonitoringObjectInUserRoleScopeAlreadyExistsException object.
Overloads
MonitoringObjectInUserRoleScopeAlreadyExistsException()
Initializes a new MonitoringObjectInUserRoleScopeAlreadyExistsException object.
public:
MonitoringObjectInUserRoleScopeAlreadyExistsException();
public MonitoringObjectInUserRoleScopeAlreadyExistsException ();
Public Sub New ()
Applies to
MonitoringObjectInUserRoleScopeAlreadyExistsException(ObjectInUserRoleScopeAlreadyExistsException)
Initializes a new instance of the MonitoringObjectInUserRoleScopeAlreadyExistsException class by using the ObjectInUserRoleScopeAlreadyExistsException parameter as the source of the exception values.
public:
MonitoringObjectInUserRoleScopeAlreadyExistsException(Microsoft::EnterpriseManagement::Common::ObjectInUserRoleScopeAlreadyExistsException ^ ex);
public MonitoringObjectInUserRoleScopeAlreadyExistsException (Microsoft.EnterpriseManagement.Common.ObjectInUserRoleScopeAlreadyExistsException ex);
new Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeAlreadyExistsException : Microsoft.EnterpriseManagement.Common.ObjectInUserRoleScopeAlreadyExistsException -> Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeAlreadyExistsException
Public Sub New (ex As ObjectInUserRoleScopeAlreadyExistsException)
Parameters
The ObjectInUserRoleScopeAlreadyExistsException to copy values from.
Applies to
MonitoringObjectInUserRoleScopeAlreadyExistsException(Exception)
Initializes a new MonitoringObjectInUserRoleScopeAlreadyExistsException object by specifying an inner exception that caused the current exception.
public:
MonitoringObjectInUserRoleScopeAlreadyExistsException(Exception ^ inner);
public MonitoringObjectInUserRoleScopeAlreadyExistsException (Exception inner);
new Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeAlreadyExistsException : Exception -> Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeAlreadyExistsException
Public Sub New (inner As Exception)
Parameters
- inner
- Exception
The Exception instance that caused the current exception.
Applies to
MonitoringObjectInUserRoleScopeAlreadyExistsException(String)
Initializes a new MonitoringObjectInUserRoleScopeAlreadyExistsException object by specifying the error message that describes the current exception.
public:
MonitoringObjectInUserRoleScopeAlreadyExistsException(System::String ^ message);
public MonitoringObjectInUserRoleScopeAlreadyExistsException (string message);
new Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeAlreadyExistsException : string -> Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeAlreadyExistsException
Public Sub New (message As String)
Parameters
- message
- String
The error message that describes the current exception.
Applies to
MonitoringObjectInUserRoleScopeAlreadyExistsException(Guid, Guid)
Initializes a new MonitoringObjectInUserRoleScopeAlreadyExistsException object with monitoring object and user role identifiers.
public:
MonitoringObjectInUserRoleScopeAlreadyExistsException(Guid userRoleId, Guid monitoringObjectId);
public MonitoringObjectInUserRoleScopeAlreadyExistsException (Guid userRoleId, Guid monitoringObjectId);
new Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeAlreadyExistsException : Guid * Guid -> Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeAlreadyExistsException
Public Sub New (userRoleId As Guid, monitoringObjectId As Guid)
Parameters
- userRoleId
- Guid
A globally unique identifier (GUID) for the user role that the monitoring object already exists in.
- monitoringObjectId
- Guid
A GUID for the monitoring object that already exists in the user role scope.
Applies to
MonitoringObjectInUserRoleScopeAlreadyExistsException(SerializationInfo, StreamingContext)
Initializes a new MonitoringObjectInUserRoleScopeAlreadyExistsException object with serialized data.
protected:
MonitoringObjectInUserRoleScopeAlreadyExistsException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected MonitoringObjectInUserRoleScopeAlreadyExistsException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeAlreadyExistsException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeAlreadyExistsException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo object that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The StreamingContext object that contains contextual information about the source or destination.
Remarks
This constructor is called during deserialization to reconstitute the exception object that is transmitted over a stream.
Applies to
MonitoringObjectInUserRoleScopeAlreadyExistsException(String, Exception)
Initializes a new MonitoringObjectInUserRoleScopeAlreadyExistsException object with an error message and inner exception.
public:
MonitoringObjectInUserRoleScopeAlreadyExistsException(System::String ^ message, Exception ^ inner);
public MonitoringObjectInUserRoleScopeAlreadyExistsException (string message, Exception inner);
new Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeAlreadyExistsException : string * Exception -> Microsoft.EnterpriseManagement.Common.MonitoringObjectInUserRoleScopeAlreadyExistsException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The error message that describes the current exception.
- inner
- Exception
The Exception instance that caused the current exception.