FileAttachmentException Constructor (String, Attachment)
Initializes a new FileAttachmentException instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public Sub New ( _
message As String, _
attachment As Attachment _
)
public FileAttachmentException(
string message,
Attachment attachment
)
public:
FileAttachmentException(
String^ message,
Attachment^ attachment
)
new :
message:string *
attachment:Attachment -> FileAttachmentException
public function FileAttachmentException(
message : String,
attachment : Attachment
)
Parameters
- message
Type: System.String
The message for the exception.
- attachment
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Attachment
The attachment object that caused this error.
.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.