Activity.Load 메서드

정의

Activity에서 Stream의 인스턴스를 로드합니다.

오버로드

Load(Stream, Activity)

Activity에서 Stream의 인스턴스를 로드합니다.

Load(Stream, Activity, IFormatter)

deserialization에 대한 사용자 지정 Activity를 사용하여 Stream에서 IFormatter의 인스턴스를 로드합니다.

설명

중요

신뢰할 수 없는 데이터로 이 메서드를 호출하는 것은 보안상 위험합니다. 신뢰할 수 있는 데이터로만 이 메서드를 호출하세요. 자세한 내용은 모든 입력 유효성 검사를 참조하세요.

Load(Stream, Activity)

Activity에서 Stream의 인스턴스를 로드합니다.

public:
 static System::Workflow::ComponentModel::Activity ^ Load(System::IO::Stream ^ stream, System::Workflow::ComponentModel::Activity ^ outerActivity);
public static System.Workflow.ComponentModel.Activity Load (System.IO.Stream stream, System.Workflow.ComponentModel.Activity outerActivity);
static member Load : System.IO.Stream * System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.Activity
Public Shared Function Load (stream As Stream, outerActivity As Activity) As Activity

매개 변수

stream
Stream

로드할 Stream입니다.

outerActivity
Activity

역직렬화된 Activity의 컨텍스트를 소유하는 Activity입니다.

반환

Activity

Activity에서 로드한 Stream 인스턴스입니다.

예외

stream이 null 참조(Visual Basic의 경우 Nothing)인 경우

설명

중요

신뢰할 수 없는 데이터로 이 메서드를 호출하는 것은 보안상 위험합니다. 신뢰할 수 있는 데이터로만 이 메서드를 호출하세요. 자세한 내용은 모든 입력 유효성 검사를 참조하세요.

적용 대상

Load(Stream, Activity, IFormatter)

deserialization에 대한 사용자 지정 Activity를 사용하여 Stream에서 IFormatter의 인스턴스를 로드합니다.

public:
 static System::Workflow::ComponentModel::Activity ^ Load(System::IO::Stream ^ stream, System::Workflow::ComponentModel::Activity ^ outerActivity, System::Runtime::Serialization::IFormatter ^ formatter);
public static System.Workflow.ComponentModel.Activity Load (System.IO.Stream stream, System.Workflow.ComponentModel.Activity outerActivity, System.Runtime.Serialization.IFormatter formatter);
static member Load : System.IO.Stream * System.Workflow.ComponentModel.Activity * System.Runtime.Serialization.IFormatter -> System.Workflow.ComponentModel.Activity
Public Shared Function Load (stream As Stream, outerActivity As Activity, formatter As IFormatter) As Activity

매개 변수

stream
Stream

로드 작업의 대상 Stream입니다.

outerActivity
Activity

역직렬화된 Activity의 컨텍스트를 소유하는 Activity입니다.

formatter
IFormatter

IFormatter에서 읽는 데 사용되는 Stream입니다.

반환

Activity

Activity에서 로드한 Stream 인스턴스입니다.

예외

stream이 null 참조(Visual Basic의 경우 Nothing)인 경우

또는

formatter이 null 참조(Visual Basic의 경우 Nothing)인 경우

설명

중요

신뢰할 수 없는 데이터로 이 메서드를 호출하는 것은 보안상 위험합니다. 신뢰할 수 있는 데이터로만 이 메서드를 호출하세요. 자세한 내용은 모든 입력 유효성 검사를 참조하세요.

적용 대상