Partner Event
Fired when ListPartners is invoked.
Syntax
public event OnPartnerHandler OnPartner; public delegate void OnPartnerHandler(object sender, As2profilemgrPartnerEventArgs e); public class As2profilemgrPartnerEventArgs : EventArgs { public string partnerIdentifier { get; } public string partnerURL { get; } }
Public Event OnPartner As OnPartnerHandler Public Delegate Sub OnPartnerHandler(sender As Object, e As As2profilemgrPartnerEventArgs) Public Class As2profilemgrPartnerEventArgs Inherits EventArgs Public ReadOnly Property partnerIdentifier As String Public ReadOnly Property partnerURL As String End Class
Remarks
This event is fired when ListPartners is called. It fires for each partner found by the AS2ProfileMgr in DataDir. The parameter partnerIdentifier is same as provided to SaveProfile to save the partner profile. The URL provided by the trading partner to post AS2 messages can be read from partnerURL.