Share via


InvalidMonitoringTaskInUserRoleScopeException Class

Definition

Caution

Use InvalidTaskInUserRoleScopeException

Represents the exception that is thrown because there is an invalid monitoring Task specified in the User Role scope.

public ref class InvalidMonitoringTaskInUserRoleScopeException : Microsoft::EnterpriseManagement::Common::EnterpriseManagementException
[System.Obsolete("Use InvalidTaskInUserRoleScopeException")]
[System.Serializable]
public class InvalidMonitoringTaskInUserRoleScopeException : Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
type InvalidMonitoringTaskInUserRoleScopeException = class
    inherit EnterpriseManagementException
Public Class InvalidMonitoringTaskInUserRoleScopeException
Inherits EnterpriseManagementException
Inheritance
InvalidMonitoringTaskInUserRoleScopeException
Derived
Attributes

Constructors

InvalidMonitoringTaskInUserRoleScopeException()

Initializes a new instance of the InvalidMonitoringTaskInUserRoleScopeException class.

InvalidMonitoringTaskInUserRoleScopeException(Exception)

Initializes a new instance of the InvalidMonitoringTaskInUserRoleScopeException class, specifying an inner exception that caused the current exception.

InvalidMonitoringTaskInUserRoleScopeException(Guid, Guid)

Initializes a new instance of the InvalidMonitoringTaskInUserRoleScopeException class, specifying the identifiers for the invalid Task and User Role.

InvalidMonitoringTaskInUserRoleScopeException(InvalidTaskInUserRoleScopeException)

Initializes a new instance of the InvalidMonitoringTaskInUserRoleScopeException class by copying values from the specified exception.

InvalidMonitoringTaskInUserRoleScopeException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidMonitoringTaskInUserRoleScopeException class with serialized data.

InvalidMonitoringTaskInUserRoleScopeException(String)

Initializes a new instance of the InvalidMonitoringTaskInUserRoleScopeException class, specifying the error message that explains the reason for the current exception.

InvalidMonitoringTaskInUserRoleScopeException(String, Exception)

Initializes a new instance of the InvalidMonitoringTaskInUserRoleScopeException class with an error message and inner exception.

Properties

TaskId

Gets the identifier of the invalid Task in the User Role scope that caused the exception.

UserRoleId

Gets the identifier of the User Role with the invalid Task in its scope that caused the exception.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the parameters required to serialize this instance of the InvalidMonitoringTaskInUserRoleScopeException class.

Applies to