Click or drag to resize

HttpErrorUtilityGetFaultData Method

Get fault data

Namespace: SanteDB.Rest.Common
Assembly: SanteDB.Rest.Common (in SanteDB.Rest.Common.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntax
public static RestServiceFault GetFaultData(
	this RestServiceFault rsf,
	string nameOfType
)

Parameters

rsf  RestServiceFault

[Missing <param name="rsf"/> documentation for "M:SanteDB.Rest.Common.HttpErrorUtility.GetFaultData(SanteDB.Rest.Common.Fault.RestServiceFault,System.String)"]

nameOfType  String

[Missing <param name="nameOfType"/> documentation for "M:SanteDB.Rest.Common.HttpErrorUtility.GetFaultData(SanteDB.Rest.Common.Fault.RestServiceFault,System.String)"]

Return Value

RestServiceFault

[Missing <returns> documentation for "M:SanteDB.Rest.Common.HttpErrorUtility.GetFaultData(SanteDB.Rest.Common.Fault.RestServiceFault,System.String)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type RestServiceFault. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also