Class ObsNotReadyException
- Namespace
- OBSStudioClient.Exceptions
- Assembly
- OBSClient.dll
Represents an exception that is thrown when something is changed while OBS Studio is not ready for it: it is changing its scene collection, or it did so after the call was made, or it did not answer in time the question that the change needed answered first. The change was not made.
[Serializable]
public class ObsNotReadyException : ObsClientException, ISerializable
- Inheritance
-
ObsNotReadyException
- Implements
- Inherited Members
Remarks
While OBS Studio changes its scene collection it answers every request with "not ready", and what it holds is about to be replaced. The model does not send a change then, and a change that was waiting for its turn when the collection changed is not sent either: it would be made in a collection that you did not mean. Wait until State is Synchronized again, look up what you want to change in the new collection, and make the change again.
A change that has to know what OBS Studio holds before it can say what to change (the toggle of a scene item: OBS Studio has no request for it) asks OBS Studio first. When OBS Studio does not answer that question in time, nothing was sent that changes anything, and the exception is this one (the exception that was thrown while the question was asked is the InnerException).
Unlike ObsUnknownOutcomeException this is certain: OBS Studio did not make the change.
Constructors
- ObsNotReadyException()
Initializes a new instance of the ObsNotReadyException class.
- ObsNotReadyException(string)
Initializes a new instance of the ObsNotReadyException class.
- ObsNotReadyException(string, Exception)
Initializes a new instance of the ObsNotReadyException class.