Share via


OSException Constructor

Creates a new instance of the OSException class.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New OSException()
public OSException()
public:
OSException()
new : unit -> OSException
public function OSException()

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error.

The following table shows the initial property values for an instance of OSException.

Property

Value

InnerException

A null reference.

Message

A system-supplied localized description.

See Also

Reference

OSException Class

OSException Overload

Microsoft.SqlServer.Replication Namespace