Udostępnij za pośrednictwem


ObserverException Constructors

Definition

Overloads

ObserverException(Exception)

Initializes a new instance of the ObserverException class using the specified internal exception.

ObserverException(SerializationInfo, StreamingContext)

Initializes a new instance of the ObserverException class using default values.

ObserverException(Exception)

Initializes a new instance of the ObserverException class using the specified internal exception.

public ObserverException (Exception originalException);
new Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.ObserverException : Exception -> Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.ObserverException
Public Sub New (originalException As Exception)

Parameters

originalException
Exception

Exception thrown by the user code.

Applies to

ObserverException(SerializationInfo, StreamingContext)

Initializes a new instance of the ObserverException class using default values.

protected ObserverException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.ObserverException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.ObserverException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo object that holds serialized object data for the exception being thrown.

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Applies to