|
WebExtensionsValidateAssemblyBindings Method
|
Validates the assembly bindings for the specified application configFileName.
Namespace:
GSF.Web
Assembly:
GSF.Web (in GSF.Web.dll) Version: 2.3.324-beta
Syntax public static bool ValidateAssemblyBindings(
string configFileName,
Stream assemblyBindingsSource = null
)
Public Shared Function ValidateAssemblyBindings (
configFileName As String,
Optional assemblyBindingsSource As Stream = Nothing
) As Boolean
public:
static bool ValidateAssemblyBindings(
String^ configFileName,
Stream^ assemblyBindingsSource = nullptr
)
static member ValidateAssemblyBindings :
configFileName : string *
?assemblyBindingsSource : Stream
(* Defaults:
let _assemblyBindingsSource = defaultArg assemblyBindingsSource null
*)
-> bool
GSF.Web.WebExtensions.ValidateAssemblyBindings = function(configFileName, assemblyBindingsSource);
Request Example
View SourceParameters
- configFileName
- Type: SystemString
Application configuration file to validate for needed assembly bindings. - assemblyBindingsSource (Optional)
- Type: System.IOStream
Stream to assembly bindings to add; defaults to embedded "GSF.Web.AssemblyBindings.xml" resource.
Return Value
Type:
Booleantrue if assembly bindings were updated; otherwise,
false.
Remarks Any stream passed in via assemblyBindingsSource will be closed if function succeeds.
See Also