The exception that is thrown when the method cannot produce a mapping. In some cases, if another mapping is available, that mapping is executed. In those cases, this exception is thrown to allow attributes from a management agent with a lower precedence to flow to the metaverse. For more information, see the Remarks section.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim instance As DeclineMappingException

Syntax

Visual Basic
Public NotInheritable Class DeclineMappingException
		Inherits ExtensionException
C#
public sealed class DeclineMappingException : ExtensionException
C++
public ref class DeclineMappingException sealed : public ExtensionException
J#
public final class DeclineMappingException extends ExtensionException
JScript
public final class DeclineMappingException extends ExtensionException

Remarks

If this exception is thrown by the MapAttributesForExport method, the MapAttributesForImport method, or the MapAttributesForJoin method, Forefront Identity Manager Synchronization Service (FIM Synchronization Service) moves to the next mapping that has lower precedence. If any other method throws this exception, it causes an error on the object (just like any other exception). The current object is not processed any further, and FIM Synchronization Service moves to the next object, if there is one.


Inheritance Hierarchy

System.Object
   System.Exception
     System.ApplicationException
       Microsoft.MetadirectoryServices.ExtensionException
        Microsoft.MetadirectoryServices.DeclineMappingException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also