Proficy Historian Client Access API
Proficy.Historian.ClientAccess.API Namespace / HistorianFault Class / Create Method / Create(Status,String) Method
A status value.
A indication of the reason.


In This Topic
    Create(Status,String) Method
    In This Topic
    Create a HistorianFault instance.
    Syntax
    Public Overloads Shared Function Create( _
       ByVal status As Status, _
       ByVal reason As System.String _
    ) As System.ServiceModel.FaultException(Of HistorianFault)
    public static System.ServiceModel.FaultException<HistorianFault> Create( 
       Status status,
       System.string reason
    )
    public:
    static System.ServiceModel.FaultException<HistorianFault^>^ Create( 
       Status status,
       System.String^ reason
    ) 

    Parameters

    status
    A status value.
    reason
    A indication of the reason.

    Return Value

    A new instance.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also