Aracılığıyla paylaş


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

Return Value

Type: Microsoft.BusinessData.Infrastructure.BdcSerializedExceptionState

See Also

Reference

BdcSerializedExceptionState Class

BdcSerializedExceptionState Members

Microsoft.BusinessData.Infrastructure Namespace