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

Delegates

  Delegate Description
Public delegate 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.