PersistenceProvider.Create(Object, TimeSpan) Method
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, creates a service state record in the persistence store.
public:
abstract System::Object ^ Create(System::Object ^ instance, TimeSpan timeout);
public abstract object Create(object instance, TimeSpan timeout);
abstract member Create : obj * TimeSpan -> obj
Public MustOverride Function Create (instance As Object, timeout As TimeSpan) As Object
- instance
- Object
The actual instance state.
- timeout
- TimeSpan
The time period after which the persistence provider aborts this attempt.
The instance token corresponding to the state just saved. This can be passed to LoadIfChanged(TimeSpan, Object, Object) to determine whether the state in the persistence store differs from the state when Create was called.
Продукт | Версії |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: