NotOutputBufferException Classe

Définition

L’exception est lancée lorsqu’une méthode restreinte aux Output objets est appelée sur un InputPipelineBuffer.

public ref class NotOutputBufferException : ApplicationException
[System.Serializable]
public class NotOutputBufferException : ApplicationException
[<System.Serializable>]
type NotOutputBufferException = class
    inherit ApplicationException
Public Class NotOutputBufferException
Inherits ApplicationException
Héritage
NotOutputBufferException
Attributs

Exemples

L’exemple de code suivant génère un NotOutputBufferExceptionfichier .

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();  
}  
}  
}  

Remarques

Les méthodes suivantes sont limitées aux PipelineBuffer objets en Output mode :

Constructeurs

Nom Description
NotOutputBufferException()

Initialise une nouvelle instance de la classe NotOutputBufferException.

S’applique à