次の方法で共有


WorkflowCompilerResults クラス

定義

注意事項

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

ワークフローのコンパイル結果を表します。 このクラスは継承できません。

public ref class WorkflowCompilerResults sealed : System::CodeDom::Compiler::CompilerResults
[System.Serializable]
public sealed class WorkflowCompilerResults : System.CodeDom.Compiler.CompilerResults
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class WorkflowCompilerResults : System.CodeDom.Compiler.CompilerResults
[<System.Serializable>]
type WorkflowCompilerResults = class
    inherit CompilerResults
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowCompilerResults = class
    inherit CompilerResults
Public NotInheritable Class WorkflowCompilerResults
Inherits CompilerResults
継承
WorkflowCompilerResults
属性

WorkflowCompilerResults クラスの値を設定するコード例を以下に示します。resultsWorkflowCompilerResults 型で、この例の部分に至る前に得られているものと想定します。 また、このコードでは、WorkflowCompiler クラスと WorkflowCompilerParameters クラスの新しいインスタンスを作成して、その値の一部を設定しています。 このコード例は、WizardForm.cs ファイルから抜粋した Outlook ワークフロー ウィザードの SDK サンプルの一部です。 詳細については、「ワークフロー ウィザードOutlook参照してください

// Compile the workflow
String[] assemblyNames = { "ReadEmailActivity.dll" };
WorkflowCompiler compiler = new WorkflowCompiler();
WorkflowCompilerParameters parameters = new WorkflowCompilerParameters(assemblyNames);
parameters.LibraryPaths.Add(Path.GetDirectoryName(typeof(BaseMailbox).Assembly.Location));
parameters.OutputAssembly = "CustomOutlookWorkflow" + Guid.NewGuid().ToString() + ".dll";
results = compiler.Compile(parameters, this.xamlFile);
' Compile the workflow
Dim assemblyNames() As String = {"ReadEmailActivity.dll"}

Dim compiler As WorkflowCompiler = New WorkflowCompiler()
Dim parameters As WorkflowCompilerParameters = New WorkflowCompilerParameters(assemblyNames)
parameters.LibraryPaths.Add(Path.GetDirectoryName(GetType(BaseMailbox).Assembly.Location))
parameters.OutputAssembly = "CustomOutlookWorkflow" + Guid.NewGuid().ToString() + ".dll"
results = compiler.Compile(parameters, Me.xamlFile)

注釈

注意

ここでは、廃止された型と名前空間について説明します。 詳細については、「.NET 4.5 での Windows Workflow Foundation の新機能」を参照してください。

プロパティ

CompiledAssembly

コンパイル済みのアセンブリを取得または設定します。

(継承元 CompilerResults)
CompiledUnit

ワークフローのコンパイル時に生成された CodeCompileUnit を取得します。

Errors

コンパイラのエラーおよび警告のコレクションを取得します。

(継承元 CompilerResults)
Evidence
互換性のために残されています。
互換性のために残されています。

コンパイル済みアセンブリのセキュリティ ポリシーのアクセス許可を表す証拠オブジェクトを示します。

(継承元 CompilerResults)
NativeCompilerReturnValue

コンパイラからの戻り値を取得または設定します。

(継承元 CompilerResults)
Output

コンパイラ出力メッセージを取得します。

(継承元 CompilerResults)
PathToAssembly

コンパイル済みのアセンブリのパスを取得または設定します。

(継承元 CompilerResults)
TempFiles

使用する一時ファイルのコレクションを取得または設定します。

(継承元 CompilerResults)

メソッド

Equals(Object)

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象