表示在没有为报表使用的数据源提供凭据时发生的异常。
继承层次结构
System.Object
  System.Exception
    Microsoft.Reporting.WebForms.ReportViewerException
      Microsoft.Reporting.WebForms.MissingDataSourceCredentialsException
命名空间:  Microsoft.Reporting.WebForms
程序集:  Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)
语法
声明
<SerializableAttribute> _
Public NotInheritable Class MissingDataSourceCredentialsException _
    Inherits ReportViewerException
用法
Dim instance As MissingDataSourceCredentialsException
[SerializableAttribute]
public sealed class MissingDataSourceCredentialsException : ReportViewerException
[SerializableAttribute]
public ref class MissingDataSourceCredentialsException sealed : public ReportViewerException
[<SealedAttribute>]
[<SerializableAttribute>]
type MissingDataSourceCredentialsException =  
    class
        inherit ReportViewerException
    end
public final class MissingDataSourceCredentialsException extends ReportViewerException
MissingDataSourceCredentialsException 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | Data | (从 Exception 继承。) | 
| .gif) | HelpLink | (从 Exception 继承。) | 
| .gif) | HResult | (从 Exception 继承。) | 
| .gif) | InnerException | (从 Exception 继承。) | 
| .gif) | Message | (从 Exception 继承。) | 
| .gif) | Source | (从 Exception 继承。) | 
| .gif) | StackTrace | (从 Exception 继承。) | 
| .gif) | TargetSite | (从 Exception 继承。) | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Equals | (从 Object 继承。) | 
| .gif) | Finalize | (从 Object 继承。) | 
| .gif) | GetBaseException | (从 Exception 继承。) | 
| .gif) | GetHashCode | (从 Object 继承。) | 
| .gif) | GetObjectData | (从 Exception 继承。) | 
| .gif) | GetType | (从 Exception 继承。) | 
| .gif) | MemberwiseClone | (从 Object 继承。) | 
| .gif) | ToString | (从 Exception 继承。) | 
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。