BdcSerializedExceptionState.GetState Method
Converts a BdcException object to a BdcSerializedExceptionState object that can be transmitted over a Windows Communication Foundation (WCF) connection.
Namespace: Microsoft.BusinessData.Infrastructure
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Public Shared Function GetState ( _
exception As BdcException _
) As BdcSerializedExceptionState
'Usage
Dim exception As BdcException
Dim returnValue As BdcSerializedExceptionState
returnValue = BdcSerializedExceptionState.GetState(exception)
public static BdcSerializedExceptionState GetState(
BdcException exception
)
Parameters
exception
Type: Microsoft.BusinessData.Infrastructure.BdcExceptionThe Business Data Connectivity (BDC) service exception.
Return Value
Type: Microsoft.BusinessData.Infrastructure.BdcSerializedExceptionState
See Also
Reference
BdcSerializedExceptionState Class