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 클래스의 값을 설정하는 방법을 보여 주고, results는 이전에 파일에서 만든 WorkflowCompilerResults 형식이라고 가정합니다. 또한 다음 코드는 WorkflowCompilerWorkflowCompilerParameters 클래스의 새 인스턴스를 만들고 일부 값을 설정합니다. 이 코드 예제는 WizardForm.cs 파일에 있는 Outlook Workflow Wizard 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)

설명

참고

이 자료에서는 더 이상 사용되지 않는 형식과 네임스페이스에 대해 설명합니다. 자세한 내용은 Deprecated Types in Windows Workflow Foundation 4.5(Windows Workflow Foundation 4.5에서 사용되지 않는 형식)를 참조하세요.

속성

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)

적용 대상