Activity.Load 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Load(Stream, Activity) | |
| Load(Stream, Activity, IFormatter) |
deserialization에 대한 사용자 지정 Activity를 사용하여 Stream에서 IFormatter의 인스턴스를 로드합니다. |
설명
중요
신뢰할 수 없는 데이터로 이 메서드를 호출하는 것은 보안상 위험합니다. 신뢰할 수 있는 데이터로만 이 메서드를 호출하세요. 자세한 내용은 모든 입력 유효성 검사를 참조하세요.
Load(Stream, Activity)
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
매개 변수
반환
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
매개 변수
- formatter
- IFormatter
IFormatter에서 읽는 데 사용되는 Stream입니다.
반환
Activity에서 로드한 Stream 인스턴스입니다.
예외
stream이 null 참조(Visual Basic의 경우 Nothing)인 경우
또는
formatter이 null 참조(Visual Basic의 경우 Nothing)인 경우
설명
중요
신뢰할 수 없는 데이터로 이 메서드를 호출하는 것은 보안상 위험합니다. 신뢰할 수 있는 데이터로만 이 메서드를 호출하세요. 자세한 내용은 모든 입력 유효성 검사를 참조하세요.