Share via


ObjectNeedsStateException Constructor (String)

Initializes a new instance of the ObjectNeedsStateException class that contains a specified error message.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New ObjectNeedsStateException(message)
public ObjectNeedsStateException (
    string message
)
public:
ObjectNeedsStateException (
    String^ message
)
public ObjectNeedsStateException (
    String message
)
public function ObjectNeedsStateException (
    message : String
)

Parameters

  • message
    The message that states the error.

See Also

Reference

ObjectNeedsStateException Class
ObjectNeedsStateException Members
Microsoft.Synchronization Namespace