Specifies the result code returned by the BargeExService.SendDocument method.

Namespace:  BargeEx
Assembly:  BargeEx (in BargeEx.dll)
Version: 3.0.400.140 (3.0.400.140)

Syntax

C#
public enum SendDocumentReturnCode
Visual Basic (Declaration)
Public Enumeration SendDocumentReturnCode
Visual C++
public enum class SendDocumentReturnCode

Members

Member nameDescription
UnknownError
An unknown error occurred.
Success
The document was successfully sent to BargeEx.
FailedAuthentication
The user credentials specified (i.e. the TradingPartnerNumber, the UserName, and/or the Password properties) are incorrect.
UnauthorizedTradingPair
The trading partner specified by the TradingPartnerNumber property does not have authorization to send documents to the trading partner indicated in the document's header.
FailedSchemaValidation
The document failed XML schema validation. See the errorDetails parameter for details.
UnsupportedNamespace
The document uses a namespace that is not currently supported by BargeEx.
DuplicateInstanceIdentifier
The trading partner specified by the TradingPartnerNumber property has already submitted a document to BargeEx with the same instance identifier and revision values.

Remarks

BargeExService.SendDocument returns a SendDocumentReturnCode value to indicate if the method call was successful.

See Also