Microsoft.Dynamics.BusinessConnectorNet Namespace

The Microsoft.Dynamics.BusinessConnectorNet namespace, along with the Microsoft.Dynamics namespace, provides the .NET classes for the Axapta Business Connector.

ClassDescription
AlreadyLoggedOnExceptionThe AlreadyLoggedOnException exception is thrown when logon to Axapta fails because the user session is already logged on.
AxaptaThe Axapta class provides the ability to connect to the Axapta system, create Axapta classes, create Axapta record, container, and buffer objects, execute transactions, and perform other Axapta system tasks.
AxaptaBufferThe AxaptaBuffer class provides the ability add data to and retrieve data from an Axapta buffer.
AxaptaBufferNotValidExceptionThe AxaptaBufferNotValidException exception is thrown when the Axapta buffer being referenced is not valid.
AxaptaContainerThe AxaptaContainer class provides the ability to read and write to and from Axapta containers.
AxaptaContainerNotValidExceptionThe AxaptaContainerNotValidException exception is thrown when the Axapta container being referenced is not valid.
AxaptaObjectThe AxaptaObject class provides the ability to call Axapta class methods.
AxaptaObjectNotValidExceptionThe AxaptaObjectNotValidException exception is thrown when the Axapta object being referenced does not exist.
AxaptaRecordThe AxaptaRecord class provides functionality for reading and modifying Axapta records.
AxaptaRecordNotValidExceptionThe AxaptaRecordNotValidException exception is thrown when the Axapta record being referenced is not valid.
BusinessConnectorExceptionThe BusinessConnectorException exception is thrown when an unexpected error has occurred with the Business Connector.
BusinessConnectorInstanceInvalid 
ConnectionLostExceptionThe ConnectionLostException exception is thrown when the connection to the AOS is lost.
DebuggerStopExceptionThe DebuggerStopException exception is thrown when the Axapta debugger has been stopped.
ExceptionErrorExceptionThe ExceptionErrorException exception is thrown when an unexpected system exception has occurred.
FatalErrorLoggedOffExceptionThe FatalErrorLoggedOffException exception is thrown when the Axapta session is closed due to an error.
InitializationFailedExceptionThe InitializationFailedException exception is thrown when the .NET Business Connector fails to initialize.
InvalidReturnValueExceptionThe InvalidReturnValueException exception is thrown when a return value is invalid.
LogonAsGuestNotSupportedExceptionThe LogonAsGuestNotSupportedException exception is thrown when trying to logon as Guest from a non-web (IIS) scenario, for example, directly thru .NET Business Connector.
LogonFailedExceptionThe LogonFailedException exception is thrown during an Axapta logon failure.
LogonSystemChangedExceptionThe LogonSystemChangedException exception is thrown when logon to Axapta fails due to logon parameters not matching those currently in use for the Business Connector.
LogonUserLockedOutExceptionThe LogonUserLockedOutException exception is thrown when the user attempting a logon is locked out due to exceeding the maximum number of logon attempts.
MethodUnknownExceptionThe MethodUnknownException exception is thrown when the method being referenced is not known by the system.
NoIISRightsExceptionThe NoIISRightsException exception is thrown when logon to Microsoft Dynamics AX fails because the user has not been granted the proper IIS rights.
NoSecurityKeyExceptionThe NoSecurityKeyException exception is thrown when a requested operation fails because the required security key does not exist.
NotLoggedOnExceptionThe NotLoggedOnException exception is thrown when a requested operation cannot be performed because the user is not logged on.
PermissionDeniedExceptionThe PermissionDeniedException exception is thrown when permission is denied to execute an operation.
ServerCommunicationErrorExceptionThe ServerCommunicationErrorException exception is thrown when communication between the client computer and the server fails.
ServerOutOfReachExceptionThe ServerOutOfReachException exception is thrown when communication with the server could not be established.
ServerOutOfResourcesExceptionThe ServerOutOfResourcesException exception is thrown when the server terminates the session due to the server not having enough free resources.
ServerUnavailableExceptionThe ServerUnavailableException exception is thrown when the server is unavailable. Microsoft Dynamics AX will attempt to connect to other servers listed in the client configuration.
SessionTerminatedExceptionThe SessionTerminatedException exception is thrown when the server terminates the session.
UnknownClassHandleExceptionThe UnknownClassHandleException exception is thrown when the class being referenced does not exist.
UnknownRecordExceptionThe UnknownRecordException exception is thrown when the record being referenced does not exist.
UnknownTextExceptionThe UnknownTextException exception is thrown when an unknown text exception has occurred.
UnknownXPPClassExceptionThe UnknownXPPClassException exception is thrown when an X++ exception has occurred.
XppExceptionThe XppException exception is thrown when an X++ exception has occurred.

DelegateDescription
AxEventHandlerDelegateYou can pass in instances of the AxEventHandlerDelegate delegate to Microsoft Dynamics AX and they will be transformed into ManagedEventDelegate X++ objects, once they are in X++ you can call the invoke method to call out and execute the managed event delegate.
Show: