NotOutputBufferException Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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. |