Clase NotOutputBufferException
The exception that is thrown when a method that is restricted to Output objects is called on an InputPipelineBuffer.
Jerarquía de herencia
System. . :: . .Object
System. . :: . .Exception
System. . :: . .ApplicationException
Microsoft.SqlServer.Dts.Pipeline..::..NotOutputBufferException
Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline
Ensamblado: Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)
Sintaxis
'Declaración
<SerializableAttribute> _
Public Class NotOutputBufferException _
Inherits ApplicationException
'Uso
Dim instance As NotOutputBufferException
[SerializableAttribute]
public class NotOutputBufferException : ApplicationException
[SerializableAttribute]
public ref class NotOutputBufferException : public ApplicationException
[<SerializableAttribute>]
type NotOutputBufferException =
class
inherit ApplicationException
end
public class NotOutputBufferException extends ApplicationException
El tipo NotOutputBufferException expone los siguientes miembros.
Constructores
| Nombre | Descripción | |
|---|---|---|
![]() |
NotOutputBufferException | Initializes a new instance of the NotOutputBufferException class. |
Arriba
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
Data | (Se hereda de Exception.) |
![]() |
HelpLink | (Se hereda de Exception.) |
![]() |
HResult | (Se hereda de Exception.) |
![]() |
InnerException | (Se hereda de Exception.) |
![]() |
Message | (Se hereda de Exception.) |
![]() |
Source | (Se hereda de Exception.) |
![]() |
StackTrace | (Se hereda de Exception.) |
![]() |
TargetSite | (Se hereda de Exception.) |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Equals | (Se hereda de Object.) |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
GetBaseException | (Se hereda de Exception.) |
![]() |
GetHashCode | (Se hereda de Object.) |
![]() |
GetObjectData | (Se hereda de Exception.) |
![]() |
GetType | (Se hereda de Exception.) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
ToString | (Se hereda de Exception.) |
Arriba
Ejemplos
The following code example generates a 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();
}
}
}
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
.gif)
.gif)
.gif)
.gif)