PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class StdBSAppCenter

    Standard app center services proxy.

    Inheritance
    System.Object
    StdBSBaseService
    StdBSAppCenter
    Inherited Members
    StdBSBaseService.m_objBSO
    StdBSBaseService.BSO
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: StdPlatBS100.ServiceClasses
    Assembly: StdPlatBS100.dll
    Syntax
    public class StdBSAppCenter : StdBSBaseService

    Constructors

    StdBSAppCenter()

    Declaration
    public StdBSAppCenter()

    Properties

    Activated

    Gets a value indicating whether this StdBSAppCenter is activated.

    Declaration
    public bool Activated { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Initialize(String)

    Initializes the specified client identifier.

    Declaration
    public bool Initialize(string clientID)
    Parameters
    Type Name Description
    System.String clientID

    The client identifier.

    Returns
    Type Description
    System.Boolean

    ReadAppCenterActive()

    Reads the application center active.

    Declaration
    public bool ReadAppCenterActive()
    Returns
    Type Description
    System.Boolean

    ReadAppCenterKey()

    Read appcenter key from configuration.

    Declaration
    public string ReadAppCenterKey()
    Returns
    Type Description
    System.String

    TrackEvent(TrackedEvent)

    Tracks the event.

    Declaration
    public void TrackEvent(TrackedEvent sendEvent)
    Parameters
    Type Name Description
    Primavera.Platform.AppCenterClient.TrackedEvent sendEvent

    The send event.

    TrackEvent(String)

    Track event by name.

    Declaration
    public void TrackEvent(string eventName)
    Parameters
    Type Name Description
    System.String eventName

    Event name.

    TrackEvent(String, String, String)

    Track event by name with additional info.

    Declaration
    public void TrackEvent(string eventName, string propertyKey, string propertyValue)
    Parameters
    Type Name Description
    System.String eventName

    The event name.

    System.String propertyKey

    The property key.

    System.String propertyValue

    The property value.

    TrackEventFUM(String)

    Tracks the event fum.

    Declaration
    public void TrackEventFUM(string fumEvent)
    Parameters
    Type Name Description
    System.String fumEvent

    The fum event.

    TrackEventFUM(String, String, String)

    Tracks the event fum.

    Declaration
    public void TrackEventFUM(string fumEvent, string propertyKey, string propertyValue)
    Parameters
    Type Name Description
    System.String fumEvent

    The fum event.

    System.String propertyKey

    The property key.

    System.String propertyValue

    The property value.

    TrackException(Exception)

    Track exception.

    Declaration
    public void TrackException(Exception ex)
    Parameters
    Type Name Description
    System.Exception ex

    The exception to track.

    TrackException(Exception, Boolean)

    Track exception.

    Declaration
    public void TrackException(Exception ex, bool getStack)
    Parameters
    Type Name Description
    System.Exception ex

    The exception to track.

    System.Boolean getStack

    Get actual execution stack

    TrackException(Exception, String, Boolean)

    Track exception.

    Declaration
    public void TrackException(Exception ex, string details, bool getStack)
    Parameters
    Type Name Description
    System.Exception ex

    The exception to track.

    System.String details

    Details from exception message.

    System.Boolean getStack

    Get actual execution stack

    TrackException(Exception, String, String, Boolean)

    Track exception with aditional info.

    Declaration
    public void TrackException(Exception ex, string propertyKey, string propertyValue, bool getStack = false)
    Parameters
    Type Name Description
    System.Exception ex

    The exception to track.

    System.String propertyKey

    The property key.

    System.String propertyValue

    The property value.

    System.Boolean getStack

    Get actual execution stack

    See Also

    StdBSBaseService