Condividi tramite


WebMethodNotSupportedException Constructor (String, Exception)

Encapsulates a message string and exception object into a WebMethodNotSupportedException.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    ex As Exception _
)
public WebMethodNotSupportedException(
    string message,
    Exception ex
)
public:
WebMethodNotSupportedException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> WebMethodNotSupportedException
public function WebMethodNotSupportedException(
    message : String, 
    ex : Exception
)

Parameters

  • message
    Type: System.String

    A message that describes the exception.

.NET Framework Security

See Also

Reference

WebMethodNotSupportedException Class

WebMethodNotSupportedException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace