CauBaseCommand.WriteError Method (Exception, String, ErrorCategory, Object)
Namespace: Microsoft.ClusterAwareUpdating.Commands
Assembly: ClusterAwareUpdating (in ClusterAwareUpdating.dll)
Syntax
protected void WriteError(
Exception exception,
string errorId,
ErrorCategory errorCategory,
object targetObject
)
protected:
void WriteError(
Exception^ exception,
String^ errorId,
ErrorCategory errorCategory,
Object^ targetObject
)
member WriteError :
exception:Exception *
errorId:string *
errorCategory:ErrorCategory *
targetObject:Object -> unit
Protected Sub WriteError (
exception As Exception,
errorId As String,
errorCategory As ErrorCategory,
targetObject As Object
)
Parameters
- exception
Type: System.Exception
- errorId
Type: System.String
- errorCategory
Type: System.Management.Automation.ErrorCategory
- targetObject
Type: System.Object
See Also
WriteError Overload
CauBaseCommand Class
Microsoft.ClusterAwareUpdating.Commands Namespace
Return to top