Freigeben über


Utility.LogCustomAppError-Methode

Berichte aus SharePoint gehostete Komponenten SharePoint-Add-Ins benutzerdefinierte Fehler an.

Namespace:  Microsoft.SharePoint.Client.Utilities
Assemblys:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Shared Function LogCustomAppError ( _
    context As ClientRuntimeContext, _
    error As String _
) As ClientResult(Of LogAppErrorResult)
'Usage
Dim context As ClientRuntimeContext
Dim error As String
Dim returnValue As ClientResult(Of LogAppErrorResult)

returnValue = Utility.LogCustomAppError(context, _
    error)
public static ClientResult<LogAppErrorResult> LogCustomAppError(
    ClientRuntimeContext context,
    string error
)

Parameter

  • error
    Typ: System.String

    Die benutzerdefinierten Fehlermeldung.

Rückgabewert

Typ: Microsoft.SharePoint.Client.ClientResult<LogAppErrorResult>
Ein Wert, der angibt, ob den Fehler Anmeldung erfolgreich war.

Siehe auch

Referenz

Utility Klasse

Utility-Member

Microsoft.SharePoint.Client.Utilities-Namespace