SecurityState::EnsureState Method ()
.NET Framework (current version)
When overridden in a derived class, ensures that the state that is represented by SecurityState is available on the host.
Assembly: mscorlib (in mscorlib.dll)
The implementation of this method should be similar to the following example.
public override void EnsureState()
{
if (!IsStateAvailable())
throw new ApplicationException("WebcamSecurityState not available");
}
.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: