Aracılığıyla paylaş


SharePointDiagnostics.SendClientScriptErrorReport Method

Reports that an error has occurred.

Namespace:  [Diagnostics Web service]
Web service reference: http://Site/_vti_bin/Diagnostics.asmx

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/diagnostics/SendClientScriptErrorReport", RequestNamespace := "https://schemas.microsoft.com/sharepoint/diagnostics/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/diagnostics/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function SendClientScriptErrorReport ( _
    message As String, _
    file As String, _
    line As Integer, _
    client As String, _
    stack As String, _
    team As String, _
    originalFile As String _
) As String
'Usage
Dim instance As SharePointDiagnostics
Dim message As String
Dim file As String
Dim line As Integer
Dim client As String
Dim stack As String
Dim team As String
Dim originalFile As String
Dim returnValue As String

returnValue = instance.SendClientScriptErrorReport(message, _
    file, line, client, stack, team, originalFile)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/diagnostics/SendClientScriptErrorReport", RequestNamespace = "https://schemas.microsoft.com/sharepoint/diagnostics/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/diagnostics/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string SendClientScriptErrorReport(
    string message,
    string file,
    int line,
    string client,
    string stack,
    string team,
    string originalFile
)

Parameters

  • message
    Type: System.String

    A string containing the message to display to the client.

  • file
    Type: System.String

    A string containing the location of the file from which the error is being generated.

  • line
    Type: System.Int32

    A string containing the line of code from which the error is being generated.

  • client
    Type: System.String

    A string containing the client name that is experiencing the error.

  • stack
    Type: System.String

    A string containing the call stack information from the generated error.

  • team
    Type: System.String

    A string containing a team or product name.

  • originalFile
    Type: System.String

    A string containing the original file name.

Return Value

Type: System.String
Returns String.

See Also

Reference

SharePointDiagnostics Class

SharePointDiagnostics Members

Diagnostics Web Service