This topic has not yet been rated - Rate this topic

ObjectNeedsStateException Class

The exception that is thrown when a SyncSessionContext object is required and none is specified.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)
[SerializableAttribute] 
public class ObjectNeedsStateException : SyncException
/** @attribute SerializableAttribute() */ 
public class ObjectNeedsStateException extends SyncException
SerializableAttribute 
public class ObjectNeedsStateException extends SyncException

This exception is thrown when LoadChangeApplierInfo was called to load change applier information into the NotifyingChangeApplier object, and then ApplyChanges is called with a value other than a null reference (Nothing in Visual Basic) for the SyncSessionContext parameter.

This exception is also thrown when a provider calls NotifyingChangeApplier.GetChangeApplierInfo to get change applier information, and then does not call NotifyingChangeApplier.LoadChangeApplierInfo to update the change applier information after it has taken some action.

System.Object
   System.Exception
     Microsoft.Synchronization.SyncException
      Microsoft.Synchronization.ObjectNeedsStateException
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)