Share via


NotOutputBufferException Classe

Definição

A exceção que é lançada quando um método restrito a objetos Output é chamado em um InputPipelineBuffer.

public ref class NotOutputBufferException : ApplicationException
[System.Serializable]
public class NotOutputBufferException : ApplicationException
[<System.Serializable>]
type NotOutputBufferException = class
    inherit ApplicationException
Public Class NotOutputBufferException
Inherits ApplicationException
Herança
NotOutputBufferException
Atributos

Exemplos

O exemplo de código a seguir gera um 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();  
}  
}  
}  

Comentários

Os seguintes métodos são restritos a PipelineBuffer objetos no Output modo :

Construtores

NotOutputBufferException()

Inicializa uma nova instância da classe NotOutputBufferException.

Aplica-se a