NotOutputBufferException 类

定义

当在 OutputInput 上调用限制为 PipelineBuffer 对象的方法时引发的异常。

public ref class NotOutputBufferException : ApplicationException
[System.Serializable]
public class NotOutputBufferException : ApplicationException
[<System.Serializable>]
type NotOutputBufferException = class
    inherit ApplicationException
Public Class NotOutputBufferException
Inherits ApplicationException
继承
NotOutputBufferException
属性

示例

下面的代码示例生成 NotOutputBufferException

using System;  
using Microsoft.SqlServer.Dts.Pipeline;  
using Microsoft.SqlServer.Dts.Pipeline.Design;  

namespace DtsDocumentation  
{  
[DtsPipelineComponent(DisplayName = "MyComponent")]  
public class Class1 : PipelineComponent  
{  
public override void ProcessInput(int inputID, PipelineBuffer buffer)  
{  
//Causes an NotOutputBufferException  
buffer.AddRow();  
}  
}  
}  

注解

以下方法仅限于 PipelineBuffer 模式下 Output 的对象:

构造函数

NotOutputBufferException()

初始化 NotOutputBufferException 类的新实例。

适用于