Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
150 lines (146 sloc) 10.1 KB
<Type Name="Confirm" FullName="System.Activities.Statements.Confirm">
<TypeSignature Language="C#" Value="public sealed class Confirm : System.Activities.NativeActivity" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit Confirm extends System.Activities.NativeActivity" />
<TypeSignature Language="DocId" Value="T:System.Activities.Statements.Confirm" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class Confirm&#xA;Inherits NativeActivity" />
<TypeSignature Language="C++ CLI" Value="public ref class Confirm sealed : System::Activities::NativeActivity" />
<TypeSignature Language="F#" Value="type Confirm = class&#xA; inherit NativeActivity" />
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Activities.NativeActivity</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>An activity used to explicitly invoke the confirmation handler of a <see cref="T:System.Activities.Statements.CompensableActivity" />.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Confirm ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Statements.Confirm.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; Confirm();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Activities.Statements.Confirm" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CacheMetadata">
<MemberSignature Language="C#" Value="protected override void CacheMetadata (System.Activities.NativeActivityMetadata metadata);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void CacheMetadata(valuetype System.Activities.NativeActivityMetadata metadata) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Statements.Confirm.CacheMetadata(System.Activities.NativeActivityMetadata)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub CacheMetadata (metadata As NativeActivityMetadata)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void CacheMetadata(System::Activities::NativeActivityMetadata metadata);" />
<MemberSignature Language="F#" Value="override this.CacheMetadata : System.Activities.NativeActivityMetadata -&gt; unit" Usage="confirm.CacheMetadata metadata" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="metadata" Type="System.Activities.NativeActivityMetadata" />
</Parameters>
<Docs>
<param name="metadata">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Cancel">
<MemberSignature Language="C#" Value="protected override void Cancel (System.Activities.NativeActivityContext context);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Cancel(class System.Activities.NativeActivityContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Statements.Confirm.Cancel(System.Activities.NativeActivityContext)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub Cancel (context As NativeActivityContext)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void Cancel(System::Activities::NativeActivityContext ^ context);" />
<MemberSignature Language="F#" Value="override this.Cancel : System.Activities.NativeActivityContext -&gt; unit" Usage="confirm.Cancel context" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="System.Activities.NativeActivityContext" />
</Parameters>
<Docs>
<param name="context">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Execute">
<MemberSignature Language="C#" Value="protected override void Execute (System.Activities.NativeActivityContext context);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Execute(class System.Activities.NativeActivityContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Statements.Confirm.Execute(System.Activities.NativeActivityContext)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub Execute (context As NativeActivityContext)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void Execute(System::Activities::NativeActivityContext ^ context);" />
<MemberSignature Language="F#" Value="override this.Execute : System.Activities.NativeActivityContext -&gt; unit" Usage="confirm.Execute context" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="System.Activities.NativeActivityContext" />
</Parameters>
<Docs>
<param name="context">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Target">
<MemberSignature Language="C#" Value="public System.Activities.InArgument&lt;System.Activities.Statements.CompensationToken&gt; Target { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Activities.InArgument`1&lt;class System.Activities.Statements.CompensationToken&gt; Target" />
<MemberSignature Language="DocId" Value="P:System.Activities.Statements.Confirm.Target" />
<MemberSignature Language="VB.NET" Value="Public Property Target As InArgument(Of CompensationToken)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Activities::InArgument&lt;System::Activities::Statements::CompensationToken ^&gt; ^ Target { System::Activities::InArgument&lt;System::Activities::Statements::CompensationToken ^&gt; ^ get(); void set(System::Activities::InArgument&lt;System::Activities::Statements::CompensationToken ^&gt; ^ value); };" />
<MemberSignature Language="F#" Value="member this.Target : System.Activities.InArgument&lt;System.Activities.Statements.CompensationToken&gt; with get, set" Usage="System.Activities.Statements.Confirm.Target" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Activities.InArgument&lt;System.Activities.Statements.CompensationToken&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the <see cref="T:System.Activities.InArgument`1" /> that contains the <see cref="T:System.Activities.Statements.CompensationToken" /> for this <see cref="T:System.Activities.Statements.Confirm" /> activity.</summary>
<value>The <see cref="T:System.Activities.InArgument`1" /> that contains the <see cref="T:System.Activities.Statements.CompensationToken" /> for this <see cref="T:System.Activities.Statements.Confirm" /> activity.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When the <xref:System.Activities.Statements.Confirm.Target%2A> of the <xref:System.Activities.Statements.CompensationToken> is specified, the <xref:System.Activities.Statements.Confirm> activity explicitly invokes the confirmation handler of the <xref:System.Activities.Statements.CompensableActivity>, which returns the <xref:System.Activities.Statements.CompensationToken>. When the <xref:System.Activities.Statements.Confirm.Target%2A> of the <xref:System.Activities.Statements.CompensationToken> is not specified, the <xref:System.Activities.Statements.Confirm> activity executes the default confirmation for any child <xref:System.Activities.Statements.CompensableActivity> activities in the reverse order of successful completion. An <xref:System.InvalidOperationException> is thrown if the <xref:System.Activities.Statements.Confirm.Target%2A> refers to a <xref:System.Activities.Statements.CompensableActivity> that was previously confirmed or compensated.
This property is read-only at runtime. If the value is set at runtime, an <xref:System.InvalidOperationException> is raised.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.