共用方式為


ServerItemRequiredException Constructor (String, Exception)

Encapsulates a message string and exception object into a ServerItemRequiredException.

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 ServerItemRequiredException(
    string message,
    Exception ex
)
public:
ServerItemRequiredException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> ServerItemRequiredException
public function ServerItemRequiredException(
    message : String, 
    ex : Exception
)

Parameters

  • message
    Type: System.String

    A message that describes the exception.

.NET Framework Security

See Also

Reference

ServerItemRequiredException Class

ServerItemRequiredException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace