Microsoft.Dynamics.BusinessConnectorNet Namespace

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

Classes

Class Description
AlreadyLoggedOnException The AlreadyLoggedOnException exception is thrown when logon to Axapta fails because the user session is already logged on.
Axapta The 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.
AxaptaBuffer The AxaptaBuffer class provides the ability add data to and retrieve data from an Axapta buffer.
AxaptaBufferNotValidException The AxaptaBufferNotValidException exception is thrown when the Axapta buffer being referenced is not valid.
AxaptaContainer The AxaptaContainer class provides the ability to read and write to and from Axapta containers.
AxaptaContainerNotValidException The AxaptaContainerNotValidException exception is thrown when the Axapta container being referenced is not valid.
AxaptaObject The AxaptaObject class provides the ability to call Axapta class methods.
AxaptaObjectNotValidException The AxaptaObjectNotValidException exception is thrown when the Axapta object being referenced does not exist.
AxaptaRecord The AxaptaRecord class provides functionality for reading and modifying Axapta records.
AxaptaRecordNotValidException The AxaptaRecordNotValidException exception is thrown when the Axapta record being referenced is not valid.
BusinessConnectorException The BusinessConnectorException exception is thrown when an unexpected error has occurred with the Business Connector.
BusinessConnectorInstanceInvalid  
ConnectionLostException The ConnectionLostException exception is thrown when the connection to the AOS is lost.
DebuggerStopException The DebuggerStopException exception is thrown when the Axapta debugger has been stopped.
ExceptionErrorException The ExceptionErrorException exception is thrown when an unexpected system exception has occurred.
FatalErrorLoggedOffException The FatalErrorLoggedOffException exception is thrown when the Axapta session is closed due to an error.
InitializationFailedException The InitializationFailedException exception is thrown when the .NET Business Connector fails to initialize.
InvalidReturnValueException The InvalidReturnValueException exception is thrown when a return value is invalid.
LogonAsGuestNotSupportedException The LogonAsGuestNotSupportedException exception is thrown when trying to logon as Guest from a non-web (IIS) scenario, for example, directly thru .NET Business Connector.
LogonFailedException The LogonFailedException exception is thrown during an Axapta logon failure.
LogonSystemChangedException The LogonSystemChangedException exception is thrown when logon to Axapta fails due to logon parameters not matching those currently in use for the Business Connector.
LogonUserLockedOutException The LogonUserLockedOutException exception is thrown when the user attempting a logon is locked out due to exceeding the maximum number of logon attempts.
MethodUnknownException The MethodUnknownException exception is thrown when the method being referenced is not known by the system.
NoIISRightsException The NoIISRightsException exception is thrown when logon to Microsoft Dynamics AX fails because the user has not been granted the proper IIS rights.
NoSecurityKeyException The NoSecurityKeyException exception is thrown when a requested operation fails because the required security key does not exist.
NotLoggedOnException The NotLoggedOnException exception is thrown when a requested operation cannot be performed because the user is not logged on.
PermissionDeniedException The PermissionDeniedException exception is thrown when permission is denied to execute an operation.
ServerCommunicationErrorException The ServerCommunicationErrorException exception is thrown when communication between the client computer and the server fails.
ServerOutOfReachException The ServerOutOfReachException exception is thrown when communication with the server could not be established.
ServerOutOfResourcesException The ServerOutOfResourcesException exception is thrown when the server terminates the session due to the server not having enough free resources.
ServerUnavailableException The ServerUnavailableException exception is thrown when the server is unavailable. Microsoft Dynamics AX will attempt to connect to other servers listed in the client configuration.
SessionTerminatedException The SessionTerminatedException exception is thrown when the server terminates the session.
UnknownClassHandleException The UnknownClassHandleException exception is thrown when the class being referenced does not exist.
UnknownRecordException The UnknownRecordException exception is thrown when the record being referenced does not exist.
UnknownTextException The UnknownTextException exception is thrown when an unknown text exception has occurred.
UnknownXPPClassException The UnknownXPPClassException exception is thrown when an X++ exception has occurred.
XppException The XppException exception is thrown when an X++ exception has occurred.

Delegates

Delegate Description
AxEventHandlerDelegate You 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.