Constructor OptimisticLockException
OptimisticLockException(SerializationInfo, StreamingContext)
Deserialization constructor. Recreate an OptimisticLockException from a serialized stream.
protected OptimisticLockException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoa SerializationInfo object holding the serialized state of the OptimisticLockException.
context
StreamingContexta StreamingContext object providing context about the serialization operation.
OptimisticLockException()
Create a new OptimisticLockException with default parameters.
public OptimisticLockException()
OptimisticLockException(string)
Create a new OptimisticLockException.
public OptimisticLockException(string message)
Parameters
message
stringA message explaining the exception.
OptimisticLockException(string, Exception)
Create a new OptimisticLockException.
public OptimisticLockException(string message, Exception innerException)
Parameters
message
stringA message explaining the exception.
innerException
ExceptionA nested exception that caused the NotLicensedException to be thrown.