PersistenceProvider.Load(TimeSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented in a derived class, loads service state information from the persistence store.
public:
abstract System::Object ^ Load(TimeSpan timeout);
public abstract object Load (TimeSpan timeout);
abstract member Load : TimeSpan -> obj
Public MustOverride Function Load (timeout As TimeSpan) As Object
Parameters
- timeout
- TimeSpan
The time period after which the persistence provider aborts this attempt.
Returns
The loaded instance state.
Remarks
Changes made to the security token in the Load method, if not reverted, stay in effect for the remainder of that message's processing. This means that the service operation's user code, the response message path through the dispatcher, as well as any error paths, run in the changed security context.