Initializes a new UnsupportedDocumentVersionException.
Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public Sub New ( _
    message As String, _
    version As String _
)
public UnsupportedDocumentVersionException(
    string message,
    string version
)
public:
UnsupportedDocumentVersionException(
    String^ message, 
    String^ version
)
new : 
        message:string * 
        version:string -> UnsupportedDocumentVersionException
public function UnsupportedDocumentVersionException(
    message : String, 
    version : String
)
Parameters
- message
 Type: System.String
 The message for the exception.
- version
 Type: System.String
 The version of the document that causes the exception.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
UnsupportedDocumentVersionException Class