Classe NotOutputBufferException
The exception that is thrown when a method that is restricted to Output objects is called on an InputPipelineBuffer.
Hiérarchie d'héritage
System. . :: . .Object
System. . :: . .Exception
System. . :: . .ApplicationException
Microsoft.SqlServer.Dts.Pipeline..::..NotOutputBufferException
Espace de noms : Microsoft.SqlServer.Dts.Pipeline
Assembly : Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public Class NotOutputBufferException _
Inherits ApplicationException
'Utilisation
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
Le type NotOutputBufferException expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
NotOutputBufferException | Initializes a new instance of the NotOutputBufferException class. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
![]() |
Data | (hérité de Exception.) |
![]() |
HelpLink | (hérité de Exception.) |
![]() |
HResult | (hérité de Exception.) |
![]() |
InnerException | (hérité de Exception.) |
![]() |
Message | (hérité de Exception.) |
![]() |
Source | (hérité de Exception.) |
![]() |
StackTrace | (hérité de Exception.) |
![]() |
TargetSite | (hérité de Exception.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetBaseException | (hérité de Exception.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetObjectData | (hérité de Exception.) |
![]() |
GetType | (hérité de Exception.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
ToString | (hérité de Exception.) |
Haut de la page
Exemples
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();
}
}
}
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.