Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FailedOperationException Constructor (String, Object, Exception, String)

Initializes a new instance of the FailedOperationException class that has the specified object on which the specified operation failed, and that has the specified inner exception and reason for occurring.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public FailedOperationException(
	string operation,
	Object failedObject,
	Exception innerException,
	string reason
)

Parameters

operation
Type: String
A String value that specifies the operation that failed.
failedObject
Type: Object
An Object system object value that specifies the object on which the operation failed.
innerException
Type: Exception
An Exception system object value that specifies the inner exception for the Failed Operation exception.
reason
Type: String
A String value that specifies the reason why the exception occurred.

Community Additions

ADD
Show:
© 2015 Microsoft